Remove-VirtualSwitchPhysicalNetworkAdapter

This cmdlet removes the specified host physical NICs from the standard virtual switch.

Syntax

-VMHostNetworkAdapter  <PhysicalNic[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VMHostNetworkAdapter
PhysicalNic[] named
  • pipeline
  • Specifies the network adapters you want to remove.

    Output

    Examples


    Example 1

    Get-VMhost "myVMhost" | Get-VMHostNetworkAdapter -Physical -Name "vmnic1" | Remove-VirtualSwitchPhysicalNetworkAdapter

    Removes a VMHost NIC from the virtual switch it is attached to.

    Related Commands

    Feedback

    Was this page helpful?