Disable-WSManTrace
Stop the WSMan logging session started by Enable-WSManTrace.
Syntax
Disable-WSManTrace []
Description
This cmdlet is only available on the Windows platform.
This cmdlet stops the WSMan logging session started by Enable-WSManTrace.
This cmdlet uses the Stop-Trace
cmdlet.
You must run this cmdlet from an elevated PowerShell session.
Examples
Example 1: Stop a WSMan trace
Disable-WSManTrace
Inputs
None
You can't pipe objects to this cmdlet.
Outputs
None
This cmdlet returns no output.
Related Links
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Submit and view feedback for