Skip to content

Instantly share code, notes, and snippets.

@mwrock
Created November 13, 2013 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwrock/7454653 to your computer and use it in GitHub Desktop.
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)
$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