< Back

Get-AzureRmVMExtensionImage

Tue Jan 29, 2019 9:37 pm

NAME Get-AzureRmVMExtensionImage



SYNOPSIS

Gets all versions for an Azure extension.





SYNTAX

Get-AzureRmVMExtensionImage [-DefaultProfile <IAzureContextContainer>] [-FilterExpression <String>] -Location <String> -PublisherName <String>

-Type <String> [-Version <String>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmVMExtensionImage cmdlet gets all versions for an Azure extension.





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 an extension.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-PublisherName <String>

Specifies the name of an extension publisher. To obtain an extension publisher, use the Get-AzureRmVMImagePublisher cmdlet.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Type <String>

Specifies the type of the extension. To obtain an extension type, use the Get-AzureRmVMExtensionImageType cmdlet.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Version <String>

Specifies the version of the extension that this cmdlet gets.



Required? false

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.PSVirtualMachineExtensionImage





Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineExtensionImageDetails







NOTES









Example 1: Get the versions of an extension image



PS C:\\> Get-AzureRmVMExtensionImage -Location "Central US" -PublisherName "Fabrikam" -Type "FabrikamEndpointProtection"



This command gets all the versions of the extension image for the specified location, publisher, and type.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... nsionimage

Get-AzureRmVMExtensionImageType

Get-AzureRmVMImage

Get-AzureRmVMImagePublisher