Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 2770

Error WinRM: Invoke-Command

$
0
0

Hi All,

I am using storage provider NetApp Release 8.2.2P1 and executing the following from my scvmm server.

$result=$null                             
                         $result=Invoke-Command -ComputerName $ComputerName -Credential $Credential -ScriptBlock { 
                                param($Path) 
                                
                                try
                                {
                                   New-Item -Path  $Path -type directory -Force
                                }
                                catch
                                {
                                  return $_
                                } 
             
                            }-ArgumentList $Path -Authentication Credssp -ErrorAction Stop

I am getting the following error.

Connecting to remote server server1 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.

Any help?

Thanks in advance.
Mohak Mahato


Viewing all articles
Browse latest Browse all 2770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>