Skip to content

Latest commit

 

History

History
69 lines (43 loc) · 1.38 KB

Disable-WSManTrace.md

File metadata and controls

69 lines (43 loc) · 1.38 KB
external help file Locale Module Name ms.date online version schema title
PSDiagnostics-help.xml
en-US
PSDiagnostics
12/12/2022
2.0.0
Disable-WSManTrace

Disable-WSManTrace

SYNOPSIS

Stop the WSMan logging session started by Enable-WSManTrace.

SYNTAX

Disable-WSManTrace [<CommonParameters>]

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

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

You can't pipe objects to this cmdlet.

OUTPUTS

None

This cmdlet returns no output.

NOTES

RELATED LINKS

Event Tracing

Stop-Trace

Enable-WSManTrace