次の方法で共有


Get-VMSystemSwitchExtensionPortFeature

Get-VMSystemSwitchExtensionPortFeature

Gets the port-level features supported by virtual switch extensions on one or more Hyper-V hosts.

Syntax

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

Detailed Description

The Get-VMSystemSwitchExtensionPortFeature cmdlet gets the port-level features supported by virtual switch extensions 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-VmSwitchExtensionPortFeature command.

Parameters

-ComputerName<String[]>

Specifies one or more Hyper-V hosts from which the available port-level features 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 one or more extension names for which the 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 feature 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 feature to be retrieved.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SystemSwitchExtension<VMSystemSwitchExtension[]>

Specifies one or more system extensions for which the 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 port-level features, supported by various virtual switch extensions installed on the system, that can be configured on a virtual network adapter on Hyper-V.

PS C:\> Get-VMSystemSwitchExtensionPortFeature