2

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"?

1
  • Which make/model of HBA?
    – Chopper3
    Nov 21, 2010 at 18:21

3 Answers 3

3

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

1

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

1
  • You don't need to wrap it in Powershell. PsExec can address multiple machines.
    – gWaldo
    Aug 1, 2012 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

You must log in to answer this question.