Get-VM | Select-Object Name,NumCPU,MemoryMB,Powerstate,@{Name=”vGPU”;Expression={$_.ExtensionData.Config.Hardware.Device.Backing.vgpu}} | Export-CSV <file>
Get-VM | Select-Object Name,NumCPU,MemoryMB,Powerstate,@{Name=”vGPU”;Expression={$_.ExtensionData.Config.Hardware.Device.Backing.vgpu}} | Export-CSV <file>