Hi,
i'm having the same issue on windows 2008r2 server.
when i run:
Get-VM -Name $vmName| Select Name,@{N="OS Family";E={$_.ExtensionData.Guest.GuestFamily}}
i get the correct result:
Name OS Family
---- ---------
vrw-testwin1 windowsGuest
but when i run this command:
Get-VMGuestNetworkInterface $vmName -GuestCredential $localcred_eng -ToolsWaitSecs 60 |where {$_.Mac -eq $mac}|Set-VMGuestNetworkInterface -ip "10.190.10.76" -Netmask "255.255.255.0" -GuestCredential $localcred_eng
i get the same error:
Get-VMGuestNetworkInterface : 11/15/2015 11:50:48 AM Get-VMGuestNetworkInterface Could not find file 'C:\Program Files (x86)\VMware\Infrastructure\vSphere
PowerCLI\Scripts\GetVmGuestNetworkInterface_.bat'.
At line:38 char:1
+ Get-VMGuestNetworkInterface $vmName -GuestCredential $localcred_eng -ToolsWaitSe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-VMGuestNetworkInterface], ViError
+ FullyQualifiedErrorId : Client20_VmGuestServiceImpl_UploadFileToGuest_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVmGuestNetworkInterface
i'm running esxi 5u3 with vc 5.5
any idea?
thanks
mordechai