码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2018-01-30 12:37:49      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:sha   check   images   com   pac   you   nbsp   eric   cat   

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

技术分享图片

 


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

标签:sha   check   images   com   pac   you   nbsp   eric   cat   

原文地址:http://blog.51cto.com/jiaxiaolei/2066661

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!