2016-05-25 12 views
0

テストエージェントから自動化スクリプトを実行する必要があるセットアップがあります。しかし、ビルドステップは、次のようなメッセージAzureでエージェントエージェントのデプロイメントに失敗したため、遠隔からpowershellスクリプトを実行できません

connecting to remote server DevBox02 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.'. For troubleshooting 

で を失敗した。しかし、私は、テストエージェントマシンを分析したとき、私は、WinRMサービスがすでに

PS C:\Windows\system32> winrm quickconfig 
WinRM service is already running on this machine. 
WinRM is already set up for remote management on this computer. 
PS C:\Windows\system32> 

なぜ私が取得していますわからないを実行しているmesssageを取得していますWinRMサービスが起動しているのを見ているときにこのメッセージが表示される

ファイアウォールの例外も設定しました。

私が紛失しているものを指摘するのを手伝ってください。ありがとうございました

+0

使用しているTFSのバージョンは? vNextビルドを使用していますか?どの段階でこの問題が発生するのですか?ビルド定義を共有できますか? –

答えて

1

WinRM /リモートPowershellサービスが正しく構成されていないため、ここで手順を実行してサービスを再構成してみてください:How to Run PowerShell Commands on Remote Computers

+0

ありがとうEddie。 –

関連する問題