PowerShell 2.0: One Cmdlet at a Time 53 Enable-WSManCredSSP
Continuing the series looking at new cmdlets available in PowerShell 2.0. This time we look at the Enable-WSManCredSSP cmdlet.
What can I do with it?
Enable CredSSP authentication on a computer allowing a user’s credentials to be passed to a remote computer for authentication. (Think authentication for background jobs on remote computers.) Note: this cmdlet requires running from an elevated PowerShell session.
Example:
Enable user credentials on the local computer to be sent to the remote computer Test02.
Enable-WSManCredSSP -Role client -DelegateComputer Test02.test.local
You will notice that you are prompted to confirm and given a warning that making this change will allow the remote computer to have access to your username and password.
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.