共用方式為


Get-AzureRmVMExtensionImageType

取得 Azure 擴充功能的型別。

警告

自 2024 年 2 月 29 日起,AzureRM PowerShell 模組已正式淘汰。 建議使用者從 AzureRM 遷移至 Az PowerShell 模組,以確保持續支援和更新。

雖然 AzureRM 模組可能仍可運作,但不再維護或支援它,但會根據用戶的判斷權和風險放置任何繼續使用。 如需轉換至 Az 模組的指引,請參閱我們的 移轉資源

語法

Get-AzureRmVMExtensionImageType
   -Location <String>
   -PublisherName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzureRmVMExtensionImageType Cmdlet 會取得 Azure 延伸模組的類型。

範例

範例 1:取得延伸模組映像類型

PS C:\> Get-AzureRmVMExtensionImageType -Location "Central US" -PublisherName "Fabrikam"

此命令會取得指定發行者和位置的延伸模組映像類型。

參數

-DefaultProfile

用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Location

指定延伸模組的位置。 這個 Cmdlet 會取得這個參數所指定位置之延伸模組的類型。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-PublisherName

指定延伸模組發行者的名稱。 若要取得擴充功能發行者,請使用 Get-AzureRmVMImagePublisher Cmdlet。 這個 Cmdlet 會從這個參數指定的發行者取得延伸模組的類型。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

輸入

String

輸出

PSVirtualMachineExtensionImageType