0

リモート交換 PS セッションを開こうとしていますが、失敗して WinRM エラーが発生します。

通常の PS セッションを開くことはできますが、Exchange 構成ではできないことに注意してください。

  1. PSRemoting が有効になっている同じドメイン内の任意のマシンから Exchange サーバーを管理することは可能ですか?

  2. 異なるドメインのマシンから Exchange サーバーを管理することは可能ですか?

  3. エラーに関する提案は大歓迎ですか?

私が実行したコマンドは次のとおりです。

**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

よろしく、

ドリーマー

4

1 に答える 1

1

あなたの環境がどのようなものかはわかりませんが、これらのリンクを試して、リモーティング用に CAS をセットアップしてください。

インターネットを介したリモート PowerShell 用の CAS のセットアップ: 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 を使用したリモート Exchange 2010 組織への接続: http://www.msexchange.org/blogs/walther/news/connecting-to-a-remote-exchange-2010-organization-using-remote-powershell-429.html

于 2013-02-04T06:45:29.823 に答える