PowerShell for Windows Admins

Dec 12 2018   12:43PM GMT

Return of the missing PSDiagnostics

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Tags:
Powershell

Return of the missing PSDiagnostics members in PowerShell v6.2 preview 3.

In Windows PowerShell v5.1 the PSDiagnostics module contains these members:

Disable-PSTrace
Disable-PSWSManCombinedTrace
Disable-WSManTrace
Enable-PSTrace
Enable-PSWSManCombinedTrace
Enable-WSManTrace
Get-LogProperties
Set-LogProperties
Start-Trace
Stop-Trace

 

In PowerShell v6.1.1 you just get these:

Disable-PSTrace
Enable-PSTrace
Get-LogProperties
Set-LogProperties

 

Quite a few missing.

In PowerShell v6.2 preview 3 we’re back to the original set:

Disable-PSTrace
Disable-PSWSManCombinedTrace
Disable-WSManTrace
Enable-PSTrace
Enable-PSWSManCombinedTrace
Enable-WSManTrace
Get-LogProperties
Set-LogProperties
Start-Trace
Stop-Trace

 

NOTE: this is just on Windows – I don’t have a non-Windows machine to determine what’s available on  non-Windows platforms

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: