PowerShell 2.0: One Cmdlet at a Time 55 Disable-WSManCredSSP
Continuing the series looking at new cmdlets available in PowerShell 2.0. This time we look at the Disable-WSManCredSSP cmdlet.
What can I do with it?
Disable CredSSP configuration on a computer. Note: this cmdlet requires running from an elevated PowerShell session.
Example:
Disable the CredSSP configuration on the local computer which has previously been enabled for client CredSSP via Enable-WSManCredSSP. Confirm this has been successful with Get-WSManCredSSP.
Disable-WSManCredSSP -Role client Get-WSManCredSSP
You will notice that the computer is no longer configured for CredSSP authentication.
How could I have done this in PowerShell 1.0?
Support for the use of WS-Management in PowerShell is provided as part of the 2.0 release.