Get-AzVMExtensionImageType
Gets the type of an Azure extension.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
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
The credentials, account, tenant, and subscription used for communication with azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the location of an extension. This cmdlet gets the type for an extension at the location that this parameter specifies.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
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.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Inputs
Outputs
PSVirtualMachineExtensionImageType