< Back
Get-AzureRmVMImage
Post
NAME Get-AzureRmVMImage
SYNOPSIS
Gets all the versions of a VMImage.
SYNTAX
Get-AzureRmVMImage [-DefaultProfile <IAzureContextContainer>] [-FilterExpression <String>] -Location <String> -Offer <String> -PublisherName
<String> -Skus <String> [<CommonParameters>]
Get-AzureRmVMImage [-DefaultProfile <IAzureContextContainer>] -Location <String> -Offer <String> -PublisherName <String> -Skus <String> -Version
<String> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmVMImage cmdlet gets all the versions of a VMImage.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-FilterExpression <String>
Specifies a filter expression.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
Specifies the location of a VMImage.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Offer <String>
Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRmVMImageOffer cmdlet.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PublisherName <String>
Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureRmVMImagePublisher cmdlet.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Skus <String>
Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureRmVMImageSku cmdlet.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Version <String>
Specifies the version of the VMImage.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineImage
Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineImageDetail
NOTES
Example 1: Get VMImage objects
PS C:\\> Get-AzureRmVMImage -Location "Central US" -PublisherName "Canonical" -Offer "UbuntuServer" -Skus "15.04-DAILY"
This command gets all the versions of VMImage that match the specified values.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ermvmimage
Get-AzureRmVMImageOffer
Get-AzureRmVMImagePublisher
Get-AzureRmVMImageSku
Save-AzureRmVMImage
SYNOPSIS
Gets all the versions of a VMImage.
SYNTAX
Get-AzureRmVMImage [-DefaultProfile <IAzureContextContainer>] [-FilterExpression <String>] -Location <String> -Offer <String> -PublisherName
<String> -Skus <String> [<CommonParameters>]
Get-AzureRmVMImage [-DefaultProfile <IAzureContextContainer>] -Location <String> -Offer <String> -PublisherName <String> -Skus <String> -Version
<String> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmVMImage cmdlet gets all the versions of a VMImage.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-FilterExpression <String>
Specifies a filter expression.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
Specifies the location of a VMImage.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Offer <String>
Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRmVMImageOffer cmdlet.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PublisherName <String>
Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureRmVMImagePublisher cmdlet.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Skus <String>
Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureRmVMImageSku cmdlet.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Version <String>
Specifies the version of the VMImage.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineImage
Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineImageDetail
NOTES
Example 1: Get VMImage objects
PS C:\\> Get-AzureRmVMImage -Location "Central US" -PublisherName "Canonical" -Offer "UbuntuServer" -Skus "15.04-DAILY"
This command gets all the versions of VMImage that match the specified values.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ermvmimage
Get-AzureRmVMImageOffer
Get-AzureRmVMImagePublisher
Get-AzureRmVMImageSku
Save-AzureRmVMImage