views:

24

answers:

1

I have a need to kick off a Data Collector Set that I've predefined. I'm going to be writing a PowerShell script that monitors a condition on the system and when it detects that condition, it begins the Data Collector Set. How can I start this Data Collector Set?

+1  A: 

There may be a .NET way to do this but I do know you can use logman.exe to start/stop these e.g.:

logman start "My DataCollectorSet"
logman stop "My DataCollectorSet"
Keith Hill
This is sufficient for me. Thanks!
jasonh