powershell - Get Lun numbers and corresponding names - windows -


i have list of names of luns including mountpoints. looking find corresponding lun numbers/ disk numbers (the same see on disk management) programming

disk 0  c: disk 1  d:  

any hints please - looking through powershell

i using wmi information. place in win32_diskdrive.

$drives = gwmi win32_diskdrive 

Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -