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

Azure Government virtual machine extensions

Azure virtual machine (VM) extensions are small applications that provide post-deployment configuration and automation tasks on Azure VMs.

Note

We recommend that you use the Azure Az PowerShell module to interact with Azure. See Install Azure PowerShell to get started. To learn how to migrate to the Az PowerShell module, see Migrate Azure PowerShell from AzureRM to Az.

Virtual machine extensions

You can obtain the list of virtual machine extensions available in Azure Government by connecting to Azure Government via PowerShell and running the following commands:

Connect-AzAccount -Environment AzureUSGovernment

Get-AzVmImagePublisher -Location USGovVirginia | `
Get-AzVMExtensionImageType | `
Get-AzVMExtensionImage | Select Type, Version

Next steps