Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

logman import | export

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Vista

Import a Data Collector Set from an XML file, or export a Data Collector Set to an XML file.

For examples of how this command can be used, see Examples.

logman import <[-n] <name>> <-xml <name>> [options]
logman export <[-n] <name>> <-xml <name>> [options]


Parameter Description


Displays context-sensitive help.

-s <computer name>

Perform the command on the specified remote computer.

-config <value>

Specifies the settings file containing command options.

[-n] <name>

Name of the target object.

-xml <name>

Name of the XML file to import or export.


Send commands to Event Trace Sessions directly without saving or scheduling.

-[-]u <user [password]>

User to Run As. Entering a * for the password produces a prompt for the password. The password is not displayed when you type it at the password prompt.


Answer yes to all questions without prompting.

The following command imports the XML file c:\windows\perf_log.xml from the computer server_1 as a data collector set called perf_log.

logman import perf_log -s server_1 -xml "c:\windows\perf_log.xml"

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft