WindowsAzure/azure-sdk-tools-samples — pull request #37 by MostafaMokhtar (2013-09-27 20:01:19+00:00)
Title: ProvisionSQLDwIaasVM.ps1 is used to deploy a SQL IAAS VM optimized for Data warehousing. Additionally it will attach empty Azure disks to the VM.

Change Description:

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:
·	Import Windows Azure module (Needed to use Windows Azure PowerShell cmdlets)
·	Import Azure publish settings (User account info etc.)
·	Create Azure Affinity group
·	Create Azure storage account
·	Set Azure subscription
·	Create New Azure VM with additional empty Azure disks