Export (0) Print
Expand All
Expand Minimize

Disable-VMSwitchExtension

Windows Server 2012 R2 and Windows 8.1

Updated: June 10, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Disable-VMSwitchExtension

Disables one or more extensions on one or more virtual switches.

Syntax

Parameter Set: ExtensionName
Disable-VMSwitchExtension [-Name] <String[]> [-ComputerName <String[]> ] [ <CommonParameters>]

Parameter Set: ExtensionNameSwitchName
Disable-VMSwitchExtension [-Name] <String[]> [-VMSwitchName] <String[]> [-ComputerName <String[]> ] [ <CommonParameters>]

Parameter Set: ExtensionNameSwitchObject
Disable-VMSwitchExtension [-Name] <String[]> [-VMSwitch] <VMSwitch[]> [ <CommonParameters>]

Parameter Set: ExtensionObject
Disable-VMSwitchExtension [-VMSwitchExtension] <VMSwitchExtension[]> [ <CommonParameters>]




Detailed Description

The Disable-VMSwitchExtension cmdlet disables one or more extensions on one or more virtual switches. You can run Get-VMSystemSwitchExtension to enumerate the virtual switch extensions installed on the system.

Parameters

-ComputerName<String[]>

Specifies one or more Hyper-V hosts on which the extension is to be disabled. 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

PSComputerName

Required?

false

Position?

named

Default Value

.

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-VMSwitch<VMSwitch[]>

Specifies the virtual switch on which the extension is to be disabled.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-VMSwitchExtension<VMSwitchExtension[]>

Specifies the extension to be disabled.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-VMSwitchName<String[]>

Specifies the name of the switch on which the extension is to be disabled.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String[]>

Specifies the name of the extension to be disabled.


Aliases

none

Required?

true

Position?

1

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.

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.

  • Microsoft.HyperV.PowerShell.NetworkExtension

Examples

Example 1

Disables WFP (“Microsoft Windows Filtering Platform”) on virtual switch Internal Switch.


PS C:\> Disable-VMSwitchExtension –VMSwitchName "Internal Switch" –Name "Microsoft Windows Filtering Platform"

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft