Created
September 28, 2013 05:25
-
-
Save jstangroome/6738659 to your computer and use it in GitHub Desktop.
A batch script to perform the equivalent of the PowerShell command 'Enable-WSManCredSSP -Role Server' when Negotiate authentication has been disabled for WinRM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
winrm.cmd g winrm/config/service/auth -r:$env:computername -a:kerberos | |
winrm.cmd s winrm/config/service/auth -r:$env:computername -a:kerberos @{CredSSP="true"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment