当我尝试使用PowerShell在线连接到Exchange时,会出现以下错误。
$ LiveCred = Get-Credential
用户名
密码
$ Session = New-PSSession -ConfigurationName Microsoft.Exchange
-ConnectionUri https://ps.outlook.com/powershell/ -Credential
$ LiveCred -Authentication Basic -AllowRedirection //创建会话错误
发生。“[ps.outlook.com] WinRM客户端无法处理请求,因为服务器名称
无法解决“..
我已正确配置winrm ..
C:\ Windows \ system32> winrm quickconfig WinRM已设置为在此计算机上接收请求。 WinRM已经设置为在此计算机上进行远程管理。
但我仍然存在错误。
答案 0 :(得分:0)
我带着同样的问题来到这里,但是,我注意到您尝试使用的Uri值似乎已更新为https://outlook.office365.com/powershell-liveid/。
http://technet.microsoft.com/en-GB/library/jj984289%28v=exchg.150%29.aspx给出的方法确实适用于我,但目前并非如此。当然MS没有下来!!!