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"?
Asked
Active
Viewed 4,396 times
2
-
Which make/model of HBA? – Chopper3 Nov 21 '10 at 18:21
3 Answers
1
You could try using PsExec and execute it remotely. You can even wrap it in PowerShell to run against a host of machines.

Sim
- 1,858
- 2
- 17
- 17
-
You don't need to wrap it in Powershell. PsExec can address multiple machines. – gWaldo Aug 01 '12 at 20:59
1
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 http://www.microsoft.com/whdc/device/storage/FCTopology.mspx
good luck

tony roth
- 3,884
- 18
- 14