HI!
I am calling:
Get-VM newAPP01 | Get-VMGuestNetworkInterface -GuestUser <user> -GuestPassword <password>
With following result: Get-VMGuestNetworkInterface Unable to parse script output.
I checked the status of Tools and they are fine. Any idea, what might be wrong?
Set-VMGuestNetworkInterface returns exactly the same error.
Which version of PowerCLI are you running?
Be aware that starting with PowerCLI 10, this cmdlet is removed.
And what guest OS do you have running in the VM?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
PowerCLI Version
----------------
VMware PowerCLI 6.5 Release 1 build 4624819
---------------
Component Versions
---------------
VMware Cis Core PowerCLI Component 6.5 build 4624453
VMware VimAutomation Core PowerCLI Component 6.5 build 4624450
VMware Vds PowerCLI Component 6.5 build 4624695
OSFullName : Oracle Linux 4/5/6/7 (64-bit)
GuestId : oracleLinux64Guest
I'm afraid that this guest OS is not in the list of supported guest OS (Windows 7, Windows Server 2008, Windows XP, Windows Server 2003, and Red Hat Enterprise Linux 5)
The best way to get the same info is through Invoke-VMScript and then send the guest OS's command to display the info.
In case of oraclelinux I think the command would be 'ip addr show
'
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference