I use Chocolatey to manage standard software builds for freshly created virtual machines. I've configured my build scripts as Powershell scripts because they install Chocolatey first. At present I copy the script to the VM and execute it. The objective is to avoid having to copy the file. My chocolatey scripts are hosted on github, so what I want to do is define a script that will execute the remote script.