Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible somehow to get status of a HBA card using PowerShell or any other API instead of logging to a server and run "powermt display path"?

share|improve this question
Which make/model of HBA? – Chopper3 Nov 21 '10 at 18:21

You can also use PowerShell Remoting to run the command on remote machines.

share|improve this answer

You could try using PsExec and execute it remotely. You can even wrap it in PowerShell to run against a host of machines.

share|improve this answer
You don't need to wrap it in Powershell. PsExec can address multiple machines. – gWaldo Aug 1 '12 at 20:59

There can be quite a bit of data within wmi about hba\san info. the following commands can lead you down the path.

gwmi -namespace "root" -class "__Namespace" | Select Name
gwmi -namespace "root\wmi" -list

if you use the -comp paramter it can be used against remote servers.

search on hba or lun.

bettter yet consulting with the manufacture might give you some insight as to whats doable. another link to stuff is

good luck

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.