【发布时间】: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