What server side components (Win2003, Win2008, Win2012) and permissions must be setup for invoking a remote command via powershell?
Example
Invoke-Command -computername $MyRemoteServer -command {}
The reason I ask, is that I get this error when attempting remote invocation of powershell command:
[dntest1] Connecting to remote server dntest1 failed with the following error message : The client cannot connect tothe 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: (dntest1:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionStateBroken
DNTEST1 is a Win2008 box with IIS for which I am a local admin.
thanks