Get-VMSystemSwitchExtensionSwitchFeature

Get-VMSystemSwitchExtensionSwitchFeature

Gets the switch-level features on one or more Hyper-V hosts.

Syntax

Parameter Set: Default
Get-VMSystemSwitchExtensionSwitchFeature [-ComputerName <String[]> ] [-ExtensionName <String[]> ] [-FeatureId <Guid[]> ] [-FeatureName <String[]> ] [-SystemSwitchExtension <VMSystemSwitchExtension[]> ] [ <CommonParameters>]

Detailed Description

The Get-VMSystemSwitchExtensionSwitchFeature cmdlet gets the switch-level features supported by virtual switch extensions in an extension on one or more Hyper-V hosts. The returned feature object will contain default values for the feature. The object can be used to apply the configuration on specific ports using the Add-VMSwitchExtensionFeature cmdlet.

Parameters

-ComputerName<String[]>

Specifies one or more Hyper-V hosts from which the switch-level features in an extension are to be retrieved. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer — use “localhost” or a dot (“.”) to specify the local computer explicitly.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ExtensionName<String[]>

Specifies the name of the extension from which the switch-level features are to be retrieved.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-FeatureId<Guid[]>

Specifies the unique identifier of the features are to be retrieved.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-FeatureName<String[]>

Specifies the name of the switch-level features to be retrieved.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SystemSwitchExtension<VMSystemSwitchExtension[]>

Specifies the extension from which the switch-level features are to be retrieved.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1

Gets all virtual switch extensions that support switch level features that can be configured on a virtual switch.

PS C:\> Get-VMSystemSwitchExtensionSwitchFeature