PSDiagnostics
PowerShell-diagnostikmodulen innehåller en uppsättning cmdletar som möjliggör användning av ETW-spårning i PowerShell i Windows.
Den här modulen är endast tillgänglig på Windows-plattformen.
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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för