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

user9517
  • 114,104
  • 20
  • 206
  • 289

3 Answers3

3

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

Jay Bazuzi
  • 663
  • 5
  • 14
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
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,844
  • 17
  • 14