Remove-VMHostNetworkAdapter

This cmdlet removes the specified host network adapters.

Syntax


Parameters

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

    Output

    Examples


    Example 1

    $network = Get-VMHostNetwork
    Remove-VMHostNetworkAdapter $network.VirtualNic[0] -Confirm

    Removes the first virtual network adapter of the host.

    Related Commands

    Feedback

    Was this page helpful?