Configuring Virtual Machine's Network Adapter from the Virtual Machine using PowerShell RRS feed

  • Question

  • I'm working on some VM automations which require VMNetworkAdapters to be configured using Windows PowerShell. Specifically, the VMs have multiple Network Adapters and few of them are either to be renamed/disabled.

    From the host, this can be easily achieved using Rename-VMNetworkAdapter and Disconnect-VMNetworkAdapter cmdlets. Also, the VMNetworkAdapters are by default named "Network Adapter". But, this name is not visible from the VM. Get-NetAdapter cmdlet in the VM returns a network adapter named "Ethernet".

    Is there a way to view and configure VMNetworkAdapters from the Virtual Machines? 

    Tuesday, March 11, 2014 10:28 AM


All replies