What
Misc powershell examples with Boxstarter and Azure VM integration. Used for demo purposes, for demostrating how to use the Azure powershell library, Boxstarter and the integration of Azure and Boxstarter
The Boxstarter script used in this example to install the servers, is located in the this gist
How
- Login to your Azure account through the browser https://manage.windowsazure.com/
- Create an storage account for use in this example
- If you have not set up the publishing settings for your Azure account and the default storage account, run setupAzurePublishSettings.ps1 script
- Run the samples
- createVmAndInstall.ps1: Simple example of creating a VM in a seperate Cloud Service. After the VM is created, it is installed using a Boxstarter script
- createVmAndInstallAdvanced.ps1: Creates a new Cloud Service with 3 VM's and install with a Boxstarter script
- deleteCloudService.ps1: Deletes all Cloud Services created with these example scripts and the associated VM's, disks etc. So essentially is deletes whatever resources created with these scripts.
- GetAzureVMImages.ps1: simple example of querying the various predefined images
- startAzureVm.ps1: starts all the VM's with a predefined prefix
- stopAzureVm.ps1: stops all the VM's with a predefined prefix