1) download and install Azure Powershell
2) Export your window azure profile and rename to something you like ex: 'c:\myazureprofile.publishsettings'
3) Import the setting
Import-AzurePublishSettingsFile 'c:\myazureprofile.publishsettings'
4) Run command in powershell to get current VM you have in asure, this will give you ServiceName, Name and Status
Get-AzureVM
5) Change VM Size, $cloudSvcName, $vmname are from step 4. $NewSize value = ExtraSmall, Small, Medium...
Get-AzureVM -ServiceName $cloudSvcName -Name $vmname | Set-AzureVMSize $NewSize | Update-AzureVM
No comments:
Post a Comment