首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法从另一个域(WinRM)错误打开远程Exchange (2010和2013年)WinRM。请指点?

问无法从另一个域(WinRM)错误打开远程Exchange (2010和2013年)WinRM。请指点?
EN

Stack Overflow用户
提问于 2013-02-02 20:26:00
回答 1查看 2.9K关注 0票数 0

我试图打开远程交换PS会话及其失败,并给出一个WinRM错误。

请注意,我可以打开正常的PS会话,但不能用exchange配置。

  1. 那么,在启用PSRemoting的情况下,可以从同一域中的任何机器管理交换服务器吗?
  2. 是否可以从来自不同域的计算机管理exchange服务器?
  3. 欢迎您对错误提出建议吗?

下面是我执行的命令:

代码语言:javascript
复制
**Case 1: Failing to open a remote session with exchange configuration.**

PS C:\> $connectionUri="http://{fqdn/powershell?serializationLevel=Full;ExchClientVer=14.3.91.1"

PS C:\> $s = New-PSSession -ConnectionURI $connectionUri -ConfigurationName Microsoft.Exchange
 -SessionOption $so -Credential $c
[fqdn] Connecting to remote server failed with the following error message : The WinRM clie
nt cannot process the request. The WinRM client tried to use Negotiate authentication mechanism, but the destination co
mputer (fqdn:80) returned an 'access denied' error. Change the configuration to allow Negot
iate authentication mechanism to be used or specify one of the authentication mechanisms supported by the server. To us
e Kerberos, specify the local computer name as the remote destination. Also verify that the client computer and the des
tination computer are joined to a domain. To use Basic, specify the local computer name as the remote destination, spec
ify Basic authentication and provide user name and password. Possible authentication mechanisms reported by server: For
 more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed

Without connectionURL, and with just fqdn:

PS C:\> $s = New-PSSession fqdn -Credential $c -ConfigurationName
Microsoft.Exchange
[fqdn] Connecting to remote server failed with the following error message : The WS-Managem
ent service cannot process the request. The resource URI (__http://schemas.microsoft.com/powershell/Microsoft.Exchange) w
as not found in the WS-Management catalog. The catalog contains the metadata that describes resources, or logical endpo
ints. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed

**Case 2: without exchange configuration, i am able to open the PS session.**

PS C:\> $s = New-PSSession "fqdn" -Credential $c
PS C:\> $s

 Id Name            ComputerName    State    ConfigurationName     Availability
 -- ----            ------------    -----    -----------------     ------------
  1 Session1        xxxxxxxxxxxx       Opened   Microsoft.PowerShell     Available

致以敬意,

德林纳

EN

回答 1

Stack Overflow用户

发布于 2013-02-04 06:45:29

我不知道您的环境是什么样的,但是也许可以尝试使用这些链接来设置CAS以进行远程处理

在Internet上为远程powershell设置 http://www.parative.com/Blogs/Exchange/2010/02/exchange-2010-remote-powershell/

使用Powershell远程管理Exchange 2010: http://www.mikepfeiffer.net/2010/02/managing-exchange-2010-with-remote-powershell/

使用远程PowerShell: http://www.msexchange.org/blogs/walther/news/connecting-to-a-remote-exchange-2010-organization-using-remote-powershell-429.html连接到远程Exchange 2010组织

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14666168

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档