如何使用 PowerShell 在该位置获取可用的 Azure 图像发布者?
可以从AzureMarketPlace获取Azure映像和发布者名称。要使用PowerShell获取在特定位置可用的Azure图像发布者,我们可以使用GetAzVMImagePublisher命令并需要提供位置以获取可用发布者。
例如,
PS C:\> Get-AzVMImagePublisher -Location Eastus
上面的命令将获取该位置可用的所有图像发布者。要仅获取发布者,您可以过滤掉输出。
PS C:\> Get-AzVMImagePublisher -Location Eastus | Select PublisherName输出结果
xcontentptyltd-1329748 xendata-inc xfinityinc xilinx xoriantsolutionspvtltd xtremedata xyzrd-group-ou yellowfin yellowfininternationalptyltd1616363974066 yokogawarentalleasecorporation your-shop-online
您可以过滤特定的发布者,如下所示。
PS C:\> Get-AzVMImagePublisher -Location Eastus | where{$_.PublisherName -like
"Microsoft*"}或者为RedHat
PS C:\> Get-AzVMImagePublisher -Location Eastus | where{$_.PublisherName -like
"Redhat*"}热门推荐
10 病人祝福语老师寄语简短
11 新娘生孩子祝福语简短
12 婆婆66岁祝福语简短
13 今天孩子高考祝福语简短
14 送彩票生日祝福语简短
15 分别祝福语简短情话英文
16 画室揭牌仪式祝福语简短
17 女友妈妈生日祝福语简短
18 离别赠言离职祝福语简短