VMware Cloud Community
BartekPL
Contributor
Contributor

Get-VMGuestNetworkInterface

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. 

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership

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

Reply
0 Kudos
BartekPL
Contributor
Contributor

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

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

Reply
0 Kudos
LucD
Leadership
Leadership

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

Reply
0 Kudos