Get-VMSwitchExtensionSwitchFeature

Gets the features configured on a virtual switch.

Syntax

Get-VMSwitchExtensionSwitchFeature
   [-SwitchName] <String[]>
   [-ComputerName <String[]>]
   [-Extension <VMSwitchExtension[]>]
   [-ExtensionName <String[]>]
   [-FeatureId <Guid[]>]
   [-FeatureName <String[]>]
   [-Passthru]
   -VMSwitchExtensionFeature <VMSwitchExtensionSwitchFeature[]>
Get-VMSwitchExtensionSwitchFeature
   [-VMSwitch] <VMSwitch[]>
   [-Extension <VMSwitchExtension[]>]
   [-ExtensionName <String[]>]
   [-FeatureId <Guid[]>]
   [-FeatureName <String[]>]
   [-Passthru]
   -VMSwitchExtensionFeature <VMSwitchExtensionSwitchFeature[]>

Description

The Get-VMSwitchExtensionSwitchFeature cmdlet gets the features configured on a virtual switch. The object can be used to update the configuration of the switch using the Set-VmSwitchExtensionFeature command.

Examples

Example 1

PS C:\>Get-VMSwitchExtensionSwitchFeature

ps_miss_tech_content

Required Parameters

-SwitchName

Specifies the name of the virtual switch.

Type:String[]
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMSwitch

Specifies the virtual switch.

Type:VMSwitch[]
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMSwitchExtensionFeature

Specifies the feature to be retrieved.

Type:VMSwitchExtensionSwitchFeature[]
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-ComputerName

Specifies one or more Hyper-V hosts on which the features configured on a virtual switch 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.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Extension

Specifies the virtual switch extension.

Type:VMSwitchExtension[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ExtensionName

Specifies the name of the virtual switch extension.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FeatureId

Specifies the unique identifier of the feature.

Type:Guid[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FeatureName

Specifies the name of the feature.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Passthru

Specifies that a Microsoft.HyperV.PowerShell.VMSwitchExtensionSwitchFeature object is to be passed through to the pipeline representing the features to be retrieved.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False