你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzVMExtensionImageType

Gets the type of an Azure extension.

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

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

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
Required:True
Accept pipeline input:True
Accept wildcard characters: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.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

PSVirtualMachineExtensionImageType