Get all perfomance datacollector and stop them sets using powershell RRS feed

  • Question

  • Hi there.

    I need to stop all data collector sets across some servers. Name of sets are not known.

    I can get name of sets using logman query but i cant put this data into pipeline because it's not formatted.

    I didn't find powershell cmdlet that can do such job. Do I miss something? Is there a way to make this job easily?

    Friday, May 11, 2018 9:58 AM


  • This will get you the names.

    logman | select -skip 3 |?{$_.Length -ge 77} | %{$_.SubString(0,24)}


    • Marked as answer by pawellrus Monday, May 14, 2018 10:22 AM
    Friday, May 11, 2018 10:20 AM

All replies