daspug201110141
Contributor
Contributor

Get-vmGuestNetworkInterface on Debian.

Hi everyone,

Hoping someone out there can help...!!!

I am trying to get a script running to get/set network information within a Debian VM and when I run the get-vmguestnetworkinterface cmdlet I keep getting this error:

Get-VMGuestNetworkInterface : 03/06/2011 16:32:11    Get-VMGuestNetworkInterfac
e        Unable to parse script output.
At line:1 char:52
+ get-vm DebianTemplate | Get-VMGuestNetworkInterface <<<<  | fl
    + CategoryInfo          : InvalidArgument: (:) [Get-VMGuestNetworkInterfac
   e], ViError
    + FullyQualifiedErrorId : Client20_VmHostServiceImpl_GetVmGuestNetworkInte
   rface_UnableToParse,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVmGues
  tNetworkInterface

Any ideas? The command I'm using is this:

get-vm DebianTemplate | Get-VMGuestNetworkInterface | fl

Then I provide the user/passwords in the pop-ups when they appear (I'll add those into the script later).

As at the moment I just want to see what comes back out from the cmdlet... but stuck already!

Thanks

0 Kudos
2 Replies
LucD
Leadership
Leadership

I'm afraid the Get-VMGuestNetworkInterface cmdlet is currently only supported on Red Hat Enterprise 5.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
daspug201110141
Contributor
Contributor

Well that's just typical...!!! It's a supported OS now, and still doesn't have full support!

Thanks as always Luc...

Dan Hayward

0 Kudos