Configuring the network of a virtual machine
To configure the network of a virtual machine guest operating system, you can use the Get-VMGuestNetworkInterface
and Set-VMGuestNetworkInterface
cmdlets. Both cmdlets are experimental and might be changed or removed in a future PowerCLI release. The cmdlets use the VMware Tools. So, if these tools are not installed inside the guest operating system or when they are not running, the cmdlets will not work. Because the cmdlets use the VMware Tools, you can configure a guest's network even if the network is not running or is disconnected.
In the help of Get-VMGuestNetworkInterface
and Set-VMGuestNetworkInterface
cmdlets, the following requirements for using these cmdlets are specified:
This cmdlet supports only Windows XP 32 SP3, Windows Server 2003 32-bit SP2, Windows Server 2003 64-bit SP2, Windows 7 64-bit, Windows Server 2008 R2 64-bit, and the Redhat Enterprise 5 operating systems.
To run this cmdlet against vCenter Server/ESX/ESXi versions earlier...