Remove-NetworkAdapter

Synopsis

Removes the virtual network adapters from their locations.

Syntax

Remove-NetworkAdapter [-NetworkAdapter] <NetworkAdapter[]> [-WhatIf] [-Confirm] [<CommonParameters>]

Related Commands

Get-NetworkAdapter
New-NetworkAdapter
Set-NetworkAdapter

Detailed Description

Removes the virtual network adapters from their locations.

Parameters

NameDescriptionRequired?Pipeline InputDefault Value
NetworkAdapterSpecify the virtual network adapters you want to remove.truetrue (ByValue)
WhatIfIndicate that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falsefalse
ConfirmIndicate that the cmdlet asks for confirmation before running.falsefalse

Input Type

Return Type

None

Notes

Examples

--------------  Example 1 --------------

C:\PS>$adapter = Get-NetworkAdapter -VM "XP_VC_Tech"

Remove-NetworkAdapter -NetworkAdapter $adapter


Removes the network adapter of the XP_VC_Tech virtual machine.

Copyright © 1998 - 2009 VMware, Inc. All rights reserved.