Edit

Get-AzConnectedExtensionMetadataV2

Gets an Extension Metadata based on location, publisher, extensionType and version

Syntax

List (Default)

Get-AzConnectedExtensionMetadataV2
    -ExtensionType <String>
    -Location <String>
    -Publisher <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzConnectedExtensionMetadataV2
    -ExtensionType <String>
    -Location <String>
    -Publisher <String>
    -Version <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Gets an Extension Metadata based on location, publisher, extensionType and version

Examples

Example 1: Get a list of extension metadata

Get-AzConnectedExtensionMetadataV2 -ExtensionType 'NetworkWatcherAgentWindows' -Location 'eastus' -Publisher 'Microsoft.Azure.NetworkWatcher'
Name
----

Gets all versions of extension metadata for the specified extension type and publisher.

Example 2: Get a specific extension metadata version

Get-AzConnectedExtensionMetadataV2 -ExtensionType 'NetworkWatcherAgentWindows' -Location 'eastus' -Publisher 'Microsoft.Azure.NetworkWatcher' -Version '1.4.2798.3'
Name
----

Gets extension metadata for a specific version.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ExtensionType

The extensionType of the Extension being received.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Location

The location of the Extension being received.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Publisher

The publisher of the Extension being received.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Version

The version of the Extension being received.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValueV2