Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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 http://www.microsoft.com/whdc/device/storage/FCTopology.mspx

good luck

share|improve this answer

Your Answer

 
discard

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