2. Find out the VM which you want to resize using the command “Get-AzureVM”
Get-AzureVM
3. Select the detail info of your VM
Get-AzureVM -ServiceName leounmanagedvm018664 -Name leounmanagedvm01
4. Use the following command to update the VM size
Get-AzureVM -ServiceName "leounmanagedvm018664" -Name "leounmanagedvm01" | Set-AzureVMSize -InstanceSize Standard_A1_v2 | Update-AzureVM
5. Have a verification
6. You can use the command “Get-AzureRmVMSize” to check all the VM sizes on our cloud
原文:http://blog.51cto.com/jiaxiaolei/2066661