title: How to enable WinRM remotely?
body: <p>I am running one of my powershell script on remote machine and I got below error.</p>
  
  <blockquote>
    <p>[server1.cn.oim.com] Connecting to remote server server1.cn.oim.com 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".</p>
  </blockquote>
  
  <p>I am calling all host name in $server and is there any powershell script so that WinRM can be enabled remotely ?</p>