Skip to content

Instantly share code, notes, and snippets.

@ejhayes
Created July 26, 2012 00:53
Show Gist options
  • Save ejhayes/3179641 to your computer and use it in GitHub Desktop.
Save ejhayes/3179641 to your computer and use it in GitHub Desktop.
Bootstrap puppet install for windows
# rename the computer (and reboot)
runas /user:Administrator "netdom renamecomputer \"%COMPUTERNAME%\" /Newname \"EricTest\" /force /reboot 0"
# restart computer NOW
shutdown /r /t 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment