Remove-VDSwitchPhysicalNetworkAdapter

This cmdlet removes host physical network adapters from the vSphere distributed switches they are connected to.

Syntax

-VMHostNetworkAdapter  <PhysicalNic[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VMHostNetworkAdapter
PhysicalNic[] named
  • pipeline
  • Specifies the host physical network adapters that you want to remove from the vSphere distributed switch it is connected to.

    Output

    Examples


    Example 1

    Get-VMhost -Name "MyVMhost" | Get-VMHostNetworkAdapter -Physical -Name vmnic0 | Remove-VDSwitchPhysicalNetworkAdapter

    Removes the specified host physical network adapter from the vSphere distributed switch that it is connected to.

    Related Commands

    Feedback

    Was this page helpful?