我注意到AccountType输出中的Get-AzureRmStorageAccount属性丢失了。这与采用冷热储藏室的情况相吻合。属性Kind被添加,AccountType被丢弃。
知道如何使用PowerShell获取这些信息吗?在门户中,这些信息仍然可用。在PowerShell对象中拥有这些信息是非常重要的。
发布于 2016-06-10 06:06:41
使用新的PS模块1.4.0版本,您可以从"Sku.Name“获得每个帐户的相同数据。例如。
PS C:\Users\xxxxxx> $Accounts = Get-AzureRmStorageAccount
早期:
PS C:\Users\xxxxxx> $Accounts.AccountType
StandardLRS
Now: PS C:\Users\xxxxxxx> $Accounts.Sku.Name
StandardLRS
希望这能帮上忙
Sri
https://stackoverflow.com/questions/37720855
复制相似问题