Provisioning VMs in Azure

Some folks are spinning up VMs in Azure to work with Visual Studio Team Service builds. Is there a place I can point them to for PS scripts that provision a Windows Server in Azure, enables PS remoting, firewalls etc?

For bonus points, it be great if there were bits to configure the VSTS build hosting components.

Thank you

I’m not aware of any one-and-done scripts that anyone’s contributed. The Azure commands themselves make it pretty easy, especially if you’re deploying a pre-made image from the Marketplace that contains the bits you want. But Remoting and firewalls are usually configured automatically in most of Azure’s pre-made images. Pick an image (Azure Virtual Machine Images for Visual Studio - Visual Studio Blog) that has the bits you want, run a command or two to deploy it. Not much of a script.