Last active
September 6, 2016 08:08
-
-
Save andykuszyk/59a4b49870830ee69389fd0eca019917 to your computer and use it in GitHub Desktop.
Enable powershell remoting to a machine via IP address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
winrm quickconfig | |
winrm s winrm/config/client '@{TrustedHosts="myservername.domain"}' | |
# To list the trusted hosts: | |
Get-Item WSMan:\localhost\Client\TrustedHosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment