How to import,start,stop Perfmon Data collector set from command line

Jacques Dalbera's IT world

 It’s possible to export Windows Performance Monitor Data Collector Sets from perfmon.exe and then reopen the template on a different machine.

If you have many performance data collector templates or many machines or both, you need an automated way to import the data collector templates.

An easier way is to use logman.exe to import the performance monitor data collector set.

Here’s the syntax: logman import -name “MyCustomMonitorName” -xml “MyCustomMonitorTemplate.xml” 

Create a batch file or Powershell script with that command for each data collector set and you can deploy multiple performance monitors to multiple machines quickly.


to start the data collector set from the command line: logman start “MyCustomMonitorName”

and to stop the data collector set: logman stop “MyCustomMonitorName”

Normally, if you have checked the box: Enable Data Management and Report generation (on DataManager tab of the DCS), you can access the REPORT.HTML report located by default on…

View original post 16 more words

One thought on “How to import,start,stop Perfmon Data collector set from command line

  1. An attention-grabbing dialogue is price comment. I feel that it is best to write more on this topic, it might not be a taboo topic but usually individuals are not sufficient to talk on such topics. To the next. Cheers


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s