PSDiagnostics
The PowerShell Diagnostics Module contains a set of cmdlets that enables the use of ETW tracing in PowerShell on Windows.
PSDiagnostics
Disable-PSTrace |
Disables the Microsoft-Windows-PowerShell event provider logs. |
Disable-PSWSManCombinedTrace |
Stop the logging session started by Enable-PSWSManCombinedTrace. |
Disable-WSManTrace |
Stop the WSMan logging session started by Enable-WSManTrace. |
Enable-PSTrace |
Enables the Microsoft-Windows-PowerShell event provider logs. |
Enable-PSWSManCombinedTrace |
Start a logging session with the WSMan and PowerShell providers enabled. |
Enable-WSManTrace |
Start a logging session with the WSMan providers enabled. |
Get-LogProperties |
Retrieves the properties of a Windows event log. |
Set-LogProperties |
Changes the properties of a Windows event log. |
Start-Trace |
Start an Event Trace logging session. |
Stop-Trace |
Stop an Event Trace logging session. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for