Quering with powershell hardware object "parent" is empty while its not in windows device manager?

76 Views Asked by At

I'm using a powershell query with gwmi to retrieve some info on usb controllers, i can get most of the infos from the object properties, but the property "Parent" is returning empty, while in windows device manager its not empty. Does someone knows why ? here is my query:

gwmi Win32_USBControllerDevice |%{[wmi]($_.Dependent)} | Where-Object {$_.Service -match 'usbaudio' } | Sort Manufacturer,Name,Parent | Ft -GroupBy Manufacturer Name,Parent

Screenshot ex:

0

There are 0 best solutions below