< Back

Get-AzureRmVMAvailableExtension

Sat Jan 18, 2020 4:33 pm

NAME Get-AzureRmVMAvailableExtension



SYNOPSIS

Get a list of available extensions for Azure IaaS VM's.





SYNTAX

Get-AzureRmVMAvailableExtension [-PublisherName] <String> [[-Location] <String>] [[-ExtensionName] <String>]

[<CommonParameters>]





DESCRIPTION

Get a list of available extensions for Azure IaaS VM's

using the Azure RM PowerShell modules.



The Get-AzureVMAvailableExtension has not yet been ported

to the new ARM PowerShell module. Use this function as a

replacement.



Requires Read RBAC role on subscription to be able to

get the list of available publishers.





PARAMETERS

-PublisherName <String>

Enter a name of a publisher. Wildcards are acceptable, but

a single * will timeout.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Location <String>

Enter an Azure data center location (i.e. eastus)



Required? false

Position? 2

Default value eastus

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ExtensionName <String>

Enter the name of an extension. Wildcards are acceptable.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Created by: Jason Wasser @wasserja

Modified: 3/15/2016 02:10:17 PM



Version 1.0



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AzureRmVMAvailableExtension -PublisherName Microsoft*



Select from the list of available extensions from the publisher

Microsoft.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-AzureRmVMAvailableExtension -PublisherName Microsoft.Compute -ExtensionName BGInfo



Get the BGInfo extension from Microsoft.Compute publisher.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-AzureRmVMAvailableExtension -PublisherName TrendMicro*



Get a list of available extensions published by Trend Micro.











RELATED LINKS

Requires -Modules AzureRM.profile,AzureRM.Compute