Return to Snippet

Revision: 63897
at June 15, 2013 09:20 by ab1


Initial Code
winrm set winrm/config/client `@`{TrustedHosts=`"`COMPUTER_NAME`"`}

Initial URL

                                

Initial Description
Using native commands in powershell can often be difficult because of the need to escape characters.  This works for setting the trusted hosts in winrm. This is needed to allow powershell remoting.

Initial Title
Add Trusted Host - powershell - winrm

Initial Tags

                                

Initial Language
Windows PowerShell