azure powershell 获取可用镜像列表

 

通过Azure Powershell 指定location和Pbulishername 获取所有可用镜像的

publisherName,Offer,Skus,Version,location信息列表
Get-AzureRmLocation  |
Where-Object { $_.Location -eq 'chinanorth' } |
Get-AzureRmVMImagePublisher | Where-Object { $_.publisherName -eq 'OpenLogic' } |
Get-AzureRmVMImageOffer |
Get-AzureRmVMImageSku |
Get-AzureRmVMImage |select publisherName,Offer,Skus,Version,location|
Format-Table 

 

posted on 2019-06-04 16:01  OceanWang  阅读(384)  评论(0编辑  收藏  举报

导航