PowerShell查询Azure中支持的虚拟机镜像


 
Get-AzureRmLocation  | 
Where-Object { $_.Location -eq 'chinanorth' } | 
Get-AzureRmVMImagePublisher | Where-Object { $_.publisherName -eq 'SUSE' } |
Get-AzureRmVMImageOffer |  
Get-AzureRmVMImageSku | 
Get-AzureRmVMImage |
fl *
PS C:\>
Version          : 2017.03.20
FilterExpression :
Skus             : 42.2
Offer            : openSUSE-Leap
PublisherName    : SUSE
Id               : /Subscriptions/*/Providers/Microsoft.Compute/Locations/chinanorth/Publishers/SUSE/ArtifactTypes/VMImage/Offers/openSUSE-Leap/Skus/42.2/Versions/2017.03.20
Location         : chinanorth
RequestId        : 67a1c497-6704-442b-ada5-e718aa0f8d02
StatusCode       : OK

Version          : 2017.07.26
FilterExpression :
Skus             : 42.3
Offer            : openSUSE-Leap
PublisherName    : SUSE
Id               : /Subscriptions/*/Providers/Microsoft.Compute/Locations/chinanorth/Publishers/SUSE/ArtifactTypes/VMImage/Offers/openSUSE-Leap/Skus/42.3/Versions/2017.07.26
Location         : chinanorth
RequestId        : ebdcac78-c24f-4058-a527-57fbba78d185
StatusCode       : OK
本文链接: https://www.pstips.net/get-azurermvmimage.html
请尊重原作者和编辑的辛勤劳动,欢迎转载,并注明出处!

关于 Mooser Lee

我是一个Powershell的爱好者,创建了PowerShell中文博客,热衷于Powershell技术的搜集和分享。本站部分内容来源于互联网,不足之处敬请谅解,并欢迎您批评指正。

发表评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注