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

PowerShellMicrosoft TechnologiesSoftware & Coding

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


raja
Published on 02-Sep-2021 11:04:48
Advertisements