Created
June 10, 2013 18:27
-
-
Save krames/5751049 to your computer and use it in GitHub Desktop.
When uploaded to C:\\cloud-automation\\bootstrap.cmd on a Cloud Server, this script will open up the WinRM port. Sample Usage: knife rackspace server create -I fc2448b4-da85-4893-b0e7-6c8794e608b4 --flavor 5 --file C:\\cloud-automation\\bootstrap.cmd=bootstrap.cmd --bootstrap-protocol winrm --server-create-timeout 2000 --template-file /Users/kyl…
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
| netsh advfirewall firewall set rule group="remote administration" new enable=yes & netsh advfirewall firewall add rule name="WinRM Port" dir=in action=allow protocol=TCP localport=5985 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated sample command: