Syntax
Set-NetworkAdapter [-NetworkAdapter] <NetworkAdapter[]> [-MacAddress <String>] [-NetworkName <String>] [-StartConnected [<Boolean>]] [-Connected [<Boolean>]] [-WakeOnLan [<Boolean>]] [-WhatIf] [-Confirm] [<CommonParameters>]Related Commands
Get-NetworkAdapterDetailed Description
Changes the configuration of the virtual network adapter. You can change the MAC address and the network name, and to configure the Connected, StartConnected, and WakeOnLan properties of the adapter.Parameters
Input Type
Return Type
VMware.VimAutomation.Types.NetworkAdapterNotes
Examples
-------------- Example 1 -------------- C:\PS>$adapter = Set-NetworkAdapter -NetworkAdapter $oldAdapter -MacAddress '00: 50:56:a1:00:00' -WakeOnLan:$true - StartConnected:$true -Connected:$true -Networ kName 'VM Network' Sets a network adapter with the specified parameters.