Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I'm trying a combination of FCINFO and PSEXEC to get the LUN ID (LUN NUMBER) used by servers, but i cant get this information directly from fcinfo.

I've also try using WMI until i learned that i should know the wmi namespace of the lun controller installed on each server.

Is this possible at all?

share|improve this question

Not sure if you've resolved this issue yet...However this may be possible using Powershell.

You can try the same using the The Get-DiskScsiLun function available in Powershell

The Get-DiskScsiLun function uses the following WMI objects: Win32_LogicalDisk, Win32_LogicalDiskToPartition, Win32_DiskDriveToDiskPartition and Win32_DiskDrive.

For more details please refer


share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.