VMM: Remove VMSwitch Extension

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche

To remove a VMM VMSwitch Extension follow the steps below.

  1. Remove VMSwitch Extension of all VMSwitches
  2. Remove VMSwitch Extension Manager
  3. Deinstall the VMM Integration Application of the extension

In this example, the VMSwitch called VMSWITCH001 and we remove the VMSwitch-Extension called 5nine vFW extension

Remove VMSwitch-Extension of all VMSwitches

# Get Logical Switch 'VMSWITCH001'
$logicalSwitch = Get-SCLogicalSwitch -Name "VMSWITCH001"
 
#Check all available VMSwitch-Extensions (Name and ID)
Get-SCVirtualSwitchExtension | Select Name, ID
 
$virtualSwitchExtensions = @()

Add only VMSwitch-Extensions that you want active! For example if you want the VMSwitch-Extensions "Microsoft NDIS Capture" and "Microsoft Windows Filtering Platform" use the following lines:

$virtualSwitchExtensions += Get-SCVirtualSwitchExtension -ID "<Extension-ID>" -Name "Microsoft NDIS Capture"
$virtualSwitchExtensions += Get-SCVirtualSwitchExtension -ID "<Extension-ID>" -Name "Microsoft Windows Filtering Platform"
Set-SCLogicalSwitch -LogicalSwitch $logicalSwitch -VirtualSwitchExtensions $virtualSwitchExtensions