cd c:\windows\system32\inetsrv ./appcmd set config "Default Web Site/PowerShell" -section:system.webServer/security/authentication/windowsAuthentication /enabled:"True" /commit:apphost ./appcmd set config "Default Web Site/PowerShell" -section:system.webServer/security/authentication/windowsAuthentication /+"providers.[value='Negotiate']" /commit:apphost ./appcmd set config "Default Web Site/PowerShell" -section:system.webServer/security/authentication/windowsAuthentication /+"providers.[value='NTLM']" /commit:apphost ./appcmd set config "Default Web Site/PowerShell" -section:system.webServer/security/authentication/windowsAuthentication /+"providers.[value='Negotiate:Kerberos']" /commit:apphost