{"id":2388,"date":"2013-07-16T17:31:04","date_gmt":"2013-07-16T09:31:04","guid":{"rendered":"http:\/\/rmohan.com\/?p=2388"},"modified":"2013-07-16T17:31:04","modified_gmt":"2013-07-16T09:31:04","slug":"run-winrm-commands-on-the-target-computer","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=2388","title":{"rendered":"Run WinRM Commands on the Target Computer"},"content":{"rendered":"<p>use WinRM commands on the installer computer<\/p>\n<p>    Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.<\/p>\n<p>    In the command prompt window, type the following command, pressing Enter after each command:<\/p>\n<p>    winrm set winrm\/config\/client\/auth @{CredSSP=&#8221;True&#8221;}winrm set winrm\/config\/client @{TrustedHosts=&#8221;*&#8221;}<\/p>\n<p>    Type exit, and then press Enter.<\/p>\n<p><strong><br \/>\nRetrieve the IP configurations of Server2.<\/strong><\/p>\n<p>winrs -r:server2 ipconfig<\/p>\n","protected":false},"excerpt":{"rendered":"<p>use WinRM commands on the installer computer<\/p>\n<p> Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.<\/p>\n<p> In the command prompt window, type the following command, pressing Enter after each command:<\/p>\n<p> winrm set winrm\/config\/client\/auth @{CredSSP=&#8221;True&#8221;}winrm set winrm\/config\/client @{TrustedHosts=&#8221;*&#8221;}<\/p>\n<p> Type exit, and then press Enter.<\/p>\n<p> [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2388"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2388"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2388\/revisions"}],"predecessor-version":[{"id":2389,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2388\/revisions\/2389"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}