小编g3n*_*1t0的帖子

WinRM无法处理请求 - 仅在特定域上失败

我们的一些服务器(W2K8 R2)上周被移动到云端,一旦我的powerswhell脚本开始失败(之前工作正常),在尝试建立连接的行上抛出异常,

$ExSession = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri     "http://$g_strExchangeServer/PowerShell" `
-Credential $Credentials –Authentication Kerberos
Run Code Online (Sandbox Code Playgroud)

通过以下消息,

[subd.staging.com] Connecting to remote server failed with the following error message : 
**WinRM cannot process the request**. The following error occured while using Kerberos authentication: There are currently no logon servers available to service the logon request.  
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user …
Run Code Online (Sandbox Code Playgroud)

powershell powershell-2.0 powershell-remoting winrm

13
推荐指数
1
解决办法
6万
查看次数