Hello,
I need to make sure that the 3D acceleration is disabled on all VMs, but this script didn't work for me. I'm using PowerCLi v10
Get-View -ViewType VirtualMachine -Property Name,Config.Hardware.Device | `
ForEach-Object {
$VM = $_
$VM.Config.Hardware.Device | `
Where-Object {$_.GetType().Name -eq "VirtualMachineVideoCard"} | `
Select-Object -property @{N="VM";E={$VM.Name}},Enable3DSupport
} | Where-Object {$_.Enable3DSupport}