- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to get the Azure Image publishers available at the location using PowerShell?
You can get the Azure images and the Publisher name from the Azure MarketPlace. To get the Azure Images publishers available at the specific location using PowerShell, we can use the GetAzVMImagePublisher command and need to provide the location to get the available publishers.
For Example,
PS C:\> Get-AzVMImagePublisher -Location Eastus
The above command will get all the image publishers available at that location. To get only the publishers, you can filter out the output.
PS C:\> Get-AzVMImagePublisher -Location Eastus | Select PublisherName
Output
xcontentptyltd-1329748 xendata-inc xfinityinc xilinx xoriantsolutionspvtltd xtremedata xyzrd-group-ou yellowfin yellowfininternationalptyltd1616363974066 yokogawarentalleasecorporation your-shop-online
You can filter the specific publisher as shown below.
PS C:\> Get-AzVMImagePublisher -Location Eastus | where{$_.PublisherName -like "Microsoft*"}
Or for the RedHat
PS C:\> Get-AzVMImagePublisher -Location Eastus | where{$_.PublisherName -like "Redhat*"}
- Related Articles
- How to get the Azure VM available sizes using PowerShell?
- How to get the location of the Azure VM using Azure CLI in PowerShell?
- How to get the available azure VM size using Azure CLI in PowerShell?
- How to get all the available azure VM images using Azure CLI in PowerShell?
- How to get the Azure images available from the specific publisher using PowerShell?
- How to get the available Azure VM sizes for the availability set using PowerShell?
- How to get the Azure resource group using Azure CLI in PowerShell?
- How to get the Azure VM Size using Azure CLI in PowerShell?
- How to get the Azure VM username using Azure CLI in PowerShell?
- How to get the applied azure resource tags using PowerShell?
- How to get the Azure VM DNS name using PowerShell?
- How to get the installed Azure VM extension using PowerShell?
- How to get the Azure VM disk encryption settings using PowerShell?
- How to get the Azure VM disk caching settings using PowerShell?
- How to get the Azure VM storage account type using PowerShell?

Advertisements