PowerShell: ошибка выполняет команду с помощью invoke-command?

Я пытаюсь выполнить следующее утверждение на сервере REMOTER:

Invoke-Command -ComputerName server1 -ScriptBlock {Get-Process}

, но я получаю сообщение об ошибке:

[server1] Connecting to remote server failed with the following error message : The client cannot connect to the destination specified in the request. Verify that the serv
ice 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

Как причина этого и как это исправить?

9
задан jrara 7 September 2011 в 09:53
поделиться