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.