Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Search Azure Resource Manager image publishers by using PowerShell

$
0
0

Summary: Use the Azure Resource Manager cmdlets to search publishers for a match.

Hey, Scripting Guy! Question Could you show me an example of how to search through the list of publishers for Azure images?

Hey, Scripting Guy! Answer Just use the Get-AzureRMVMImagePublisher cmdlet, and filter on the PublisherName property. The following example searches for all publishers that contain the name, Windows.

Get-AzureRMVMImagePublisher –location ‘eastus’ | Where-object { $_.PublisherName –like ‘*Windows*’ }

The Doctor


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>