【问题标题】:Exchange online- The WinRM client cannot process the request because the server name cannot be resolvedExchange online - WinRM 客户端无法处理请求,因为无法解析服务器名称
【发布时间】:2013-06-25 02:05:07
【问题描述】:

当我尝试使用 powershell 在线连接到 Exchange 时,出现以下错误。

$LiveCred = 获取凭据

用户名

密码

$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 快速配置 WinRM 已设置为在此计算机上接收请求。 WinRM 已经在这台机器上设置了远程管理。

但对我来说仍然存在错误。

【问题讨论】:

  • ps.outlook.com 为我解析为 132.245.6.135。也许试试https://132.245.6.135/powershell/

标签: powershell-2.0 exchange-server


【解决方案1】:

我带着同样的问题来到这里,但是,我注意到您尝试使用的 Uri 值似乎已更新为 https://outlook.office365.com/powershell-liveid/

http://technet.microsoft.com/en-GB/library/jj984289%28v=exchg.150%29.aspx 给出的方法确实对我有用,但目前不是。 MS 肯定没有倒下!!!

【讨论】:

    猜你喜欢
    • 2023-01-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多