Esporta (0) Stampa
Espandi tutto
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.


[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 (


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

Microsoft sta conducendo un sondaggio in linea per comprendere l'opinione degli utenti in merito al sito Web di MSDN. Se si sceglie di partecipare, quando si lascia il sito Web di MSDN verrà visualizzato il sondaggio in linea.

Si desidera partecipare?
© 2014 Microsoft