HBA card location(s)

This topic contains 3 replies, has 3 voices, and was last updated by  Mike Eyler 2 years, 1 month ago.

  • Author
  • #37539

    Mike Eyler

    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!!

  • #37541

    Richard Diphoorn

    Typing from the car now, So I can't check 😁. But, look at the CIM Cmdlets.

  • #37553

    Jeremy Murrah

    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*"}

  • #37575

    Mike Eyler

    That worked, thanks Jeremy!

You must be logged in to reply to this topic.