WindowsAzure/azure-sdk-tools-samples — pull request #40 by MostafaMokhtar (2013-10-02 23:17:11+00:00)
Title: New-AzureSqlDwIaasVM.ps1 is used to deploy a SQL IAAS VM optimized for Data warehousing. Additionally it will attach empty Azure disks to the VM. 

This script allows a user to create a Data warehousing optimized VM on Azure running SQL Server 2012 or SQL Server 2014, script will also attach empty disks to the VM to be used for Sql server data and log files.
Attached disks are 1023GB each, size is not configurable, Azure subscriber will only get build for used capacity.
ProvisionSQLDwIaasVM.ps1 implements the following:
1) Import Windows Azure module (Needed to use Windows Azure PowerShell cmdlets)
2) Import Azure publish settings (User account info etc.)
3) Create Azure Affinity group
4) Create Azure storage account
5) Set Azure subscription
6) Create New Azure VM with additional empty Azure disks