Get-VMSystemSwitchExtensionSwitchFeature

Get-VMSystemSwitchExtensionSwitchFeature

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

構文

Parameter Set: Default
Get-VMSystemSwitchExtensionSwitchFeature [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-ExtensionName <String[]> ] [-FeatureId <Guid[]> ] [-FeatureName <String[]> ] [-SystemSwitchExtension <VMSystemSwitchExtension[]> ] [ <CommonParameters>]

詳細説明

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.

パラメーター

-CimSession<Microsoft.Management.Infrastructure.CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。コンピューター名またはセッション オブジェクト (New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など) を入力します。既定値は、ローカル コンピューター上の現在のセッションです。

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-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

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-Credential<System.Management.Automation.PSCredential[]>

Specifies one or more user accounts that have permission to perform this action. The default is the current user.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-ExtensionName<String[]>

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

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-FeatureId<Guid[]>

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

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-FeatureName<String[]>

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

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-SystemSwitchExtension<VMSystemSwitchExtension[]>

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

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

<CommonParameters>

このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットが出力するオブジェクトの型です。

使用例

Example 1

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

PS C:\> Get-VMSystemSwitchExtensionSwitchFeature