Get-AzureRmVM:此cmdlet输出的属性将在即将发布的更改版本中更改。 DataDisk的StorageAccountType属性将返回Standard_LRS和Premium_LRS [英] Get-AzureRmVM: A property of the output of this cmdlet will change in an upcoming breaking change release. The StorageAccountType property for a DataDisk will return Standard_LRS and Premium_LRS

查看:64
本文介绍了Get-AzureRmVM:此cmdlet输出的属性将在即将发布的更改版本中更改。 DataDisk的StorageAccountType属性将返回Standard_LRS和Premium_LRS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Get-AzureRmVM:此cmdlet输出的属性将在即将发布的更改版本中更改。在  DataDisk的StorageAccountType属性将返回Standard_LRS和Premium_LRS


运行脚本时出现此错误


$ azurevm = Get-AzureRMVM -ResourceGroupName
$ dbServerResourceGroupName -Name
$ DBSERVERNAME                       &NBSP ;       

解决方案

您好,


试试喜欢这个

(get-azurermvm -ResourceGroupName YourRGName -Name VMname).id 


Get-AzureRmVM: A property of the output of this cmdlet will change in an upcoming breaking change release. The  StorageAccountType property for a DataDisk will return Standard_LRS and Premium_LRS

i have this Error when running the script

$azurevm = Get-AzureRMVM -ResourceGroupName $dbServerResourceGroupName -Name $dbServerName                              

解决方案

Hi,

Try like this

(get-azurermvm -ResourceGroupName YourRGName -Name VMname).id


这篇关于Get-AzureRmVM:此cmdlet输出的属性将在即将发布的更改版本中更改。 DataDisk的StorageAccountType属性将返回Standard_LRS和Premium_LRS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆