Created
November 13, 2013 19:15
-
-
Save mwrock/7454653 to your computer and use it in GitHub Desktop.
Remotely Install a Minecraft server to your win 2012 server on aws ec2 instance using Chocolatey via Boxstarter Prereqs:
Must open ports 445 and and 5985
Must have sysinternals psexec (cinst sysinternals)
This file contains 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
$cred=Get-Credential Administrator | |
psexec \\blah.compute-1.amazonaws.com | |
-u Administrator -p "yadayada" -h -d powershell.exe "Set-NetFirewallRule -Name WINRM-HTTP-In-TCP-PUBLIC -RemoteAddress Any" | |
Import-Module Boxstarter.Chocolatey | |
Install-BoxstarterPackage -Computername blah.compute-1.amazonaws.com -Credential $cred -PackageName bukkit -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment