Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic


[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]


Returns an operating system image object.


Parameter Set: Default
Get-AzureVMImage [[-ImageName] <String> ] [ <CommonParameters>]


This topic describes the cmdlet in the .6.19 version of the Windows Azure PowerShell module. To find out the version of the module you're using, from the Windows Azure PowerShell console, type (get-module azure).version.

The Get-AzureVMImage cmdlet returns an operating system image object with information on one or more operating system images stored in the image repository.

The cmdlet returns information for all images in the repository, or about a specific image if its image name is provided.



Specifies the name of the image in the image repository.







Default Value


Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?



This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).


The input type is the type of the objects that you can pipe to the cmdlet.


The output type is the type of the objects that the cmdlet emits.


Example 1

This command retrieves the "MyOSImage" image object from the current image repository.

C:\PS> Get-AzureVMImage -ImageName MyOSImage

Example 2

This command retrieves all the images from the current image repository.

C:\PS> Get-AzureVMImage

Example 3

This command sets the subscription context and then retrieves all the images from the image repository.

C:\PS> $subsId = <MySubscriptionID>C:\PS> $cert = Get-AzureCertificate cert:\LocalMachine\MY\<CertificateThumbprint>
C:\PS> $MyOSImages = Get-AzureVMImage

Related topics

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.