HBA card location(s)

Does anyone know how to capture a PCI or HBA card slot location(s) using powershell?
The information is easily obtainable through the GUI using device manager or HP Systems Management Homepage. I would like to be able to write a script to capture this info due to the number of servers i need to gather data for.
Any help is greatly appreciated!!

Typing from the car now, So I can’t check :grin:. But, look at the CIM Cmdlets.

If you have the HP WBEM providers installed, you should have the root\hpq namespace. Check out this list of classes:

gwmi -Namespace root\hpq -List | ?{$_.name -like “hba”}

That worked, thanks Jeremy!