header image

Return of the missing PSDiagnostics

Posted by: | December 12, 2018 Comments Off on Return of the missing PSDiagnostics |

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

under: PowerShell v6

Comments are closed.

Categories