xxggmmxx 发表于 2018-9-1 11:26:38

使用Powershell改变Azure经典虚拟机Size

  1.       Login your Azure Account

  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>  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>

页: [1]
查看完整版本: 使用Powershell改变Azure经典虚拟机Size