リモートでは、powershellコマンドを実行すると混乱します。私はServerAと呼ばれるテストサーバ(Win 2k8-R2-SP1)を持っています。これはpowershellリモーティングが正しく有効になっています。私のdevマシン(Win 2k8-R2-SP1)からは、powershellコマンドを正しく実行することができます。 しかし、私はサーバーB(勝つ2K8-R2)と呼ばれる別のサーバーから同じコマンドを実行しようとすると、私はすべての3台のマシンが同じドメイン内にある次のエラーPowershellの動作が曖昧になる
[ServerA] Connecting to remote server failed with the following error message : The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (:) [], PSRemotingTransportException + FullyQualifiedErrorId : PSSessionStateBroken
を取得します。私の混乱は、私の開発マシンから、ServerAに接続してコマンドを実行できることです。
ServerBにSP1がないのは違いがありますか?お知らせ下さい。私はすべての3つのサーバーの管理者権限を持つ同じドメインアカウントを使用しています。
私が試しているコマンドは Invoke-Command -ComputerName ServerA -ScriptBlock {Get-UICulture}
です。
助けてください。サーバーBから
おかげ
ひなた。ありがとう。私はこれを試し、行動の変化は見られませんでした。 –
@Prasanna K Rao - 私の更新答えを見てください。 – manojlds
ありがとう..でも、これは助けにはなりませんでした。 //サーバA:私は、URLはhttpアクセスしようとした私のdevのボックスから5985を/と私はHTTP 404エラーを取得します。しかし、ServerBから、私は 'Content Blocked'エラーを取得します。この情報が役立つかどうかはわかりません。おかげで、 –