How to get the Azure images available from the specific publisher using PowerShell?



To get the Azure images available from specific publishers like Microsoft at a specific location, we can use the Get-AzVMImageOffer command. For example, the below command will retrieve all the images available in the EastUs location and from the publisher MicrosoftWindowsServer.

PS C:\> Get-AzVMImageOffer -Location Eastus -PublisherName
"MicrosoftWindowsServer"

Output

From the RedHat,

PS C:\> Get-AzVMImageOffer -Location Eastus -PublisherName RedHat

Output


Updated on: 2021-09-02T11:06:36+05:30

188 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements