Get-AzVMExtensionImageType
Gets the type of an Azure extension.
Syntax
Default (Default)
Get-AzVMExtensionImageType
-Location <String>
-PublisherName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzVMExtensionImageType cmdlet gets the type of an Azure extension.
Examples
Example 1: Get an extension image type
Get-AzVMExtensionImageType -Location "Central US" -PublisherName "Fabrikam"
This command gets the extension image type for the specified publisher and location.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Location
Specifies the location of an extension. This cmdlet gets the type for an extension at the location that this parameter specifies.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-PublisherName
Specifies the name of a publisher of an extension. To obtain an extension publisher, use the Get-AzVMImagePublisher cmdlet. This cmdlet gets the type for an extension from the publisher that this parameter specifies.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.