New VM configurations in Windows Azure

Posted: 4th January 2015 by Gennady in Azure, PowerShell
Tags: ,

In Windows Azure there are new virtual machines configurations. Some of them could be interesting for testing purposes, like “D11”:


Existing configuration could be changed in UI or with this code:

Set-ExecutionPolicy RemoteSigned
Import-Module Azure

$VMname = "myVM"
$ServiceName = "myVM"
$VMSize = "A5"

$myVM = Get-AzureVM –ServiceName $ServiceName –Name $VMname
$myVM | Stop-AzureVM
$myVM | Set-AzureVMSize $VMSize | Update-AzureVM

where VMsize is a value from this list:

ExtraSmall,Small,Medium,Large,ExtraLarge,A5,A6,A7,A8,A9,Basic_A0,Basic_A1,Basic_A2, Basic_A3,Basic_A4,Standard_D1,Standard_D2,Standard_D3,Standard_D4,Standard_D11, Standard_D12,Standard_D13,Standard_D14

Click below to expand comments form..