Actually,
I think I pasted it incorrectly, but when I run it I don't get any results
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> $script
= @"
>> driverquery
>> "@
>>
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-Data
center -Name MyDC | Get-VM | %{
>> $output = Invoke-VMScript -VM $_ -ScriptText $script
>> $_ | Select Name,@{N="vShield Agent present";E={$output -match "vsepflt"}}
>>
>>
>>
>>
>>
>>
>>