Syntax
Get-VMGuestNetworkInterface [[-VM] <VirtualMachine[]>] [-VMGuest <VMGuest[]>] [-Server <VIServer[]>] [-ToolsWaitSecs <Int32>] [-GuestPassword <SecureString>] [-GuestUser <String>] [-GuestCredential <PSCredential>] [-HostPassword <SecureString>] [-HostUser <String>] [-HostCredential <PSCredential>] [<CommonParameters>]Related Commands
Online versionDetailed Description
Retrieves information about the network configuration of the specified virtual machines or guests. This cmdlet supports only Windows XP, Windows Server 2003, and Linux RedHat Enterprise 5. You can enhance this cmdlet i to support other guest operating systems by modifying or adding custom scripts. The custom scripts are located in the "Scripts" folder in the PowerCLI installation directory and their names have the following format:Parameters
Return Type
VMGuestNetworkNotes
Supported on ESX 3.5 Update 2 and newer. Consider that this functionality i s experimental.Examples
-------------- Example 1 --------------
Get-VMGuestNetworkInterface -VM $vm -HostUser Admin -HostPassword pass1 -GuestUser User -GuestPassword pass2
Retrieves the guest network interface of the $vm virtual machine.