Hi Luc,
Is this script intended only for VDI environment, I'm running it a multi tenanted server environment.
I used higher privileges but still get the error bellow. I'm just wondering the vShield driver is installed it reports "Thin Agent Enabled back to vShield manager, but I assume vShield manager gets that info from vCenter, would there be any way to query that instead?
image attached
VM False
Invoke-VMScript : 13/05/2013 3:51:21 PM Invoke-VMScript Timeout error
while waiting for VMware Tools to start in the guest.
At C:\scripts\VDI-DC-VM-vshield-agent-present.ps1:6 char:28
+ $output = Invoke-VMScript <<<< -VM $_ -ScriptText $script
+ CategoryInfo : OperationTimeout: (:) [Invoke-VMScript], VimExce
ption
+ FullyQualifiedErrorId : Client20_VmGuestServiceImpl_WaitProcessInGuest_O
perationTimeout,VMware.VimAutomation.ViCore.Cmdlets.Commands.InvokeVmScrip
t