SQL_Hunt
SSC-Dedicated
Points: 33518
More actions
December 18, 2014 at 4:29 am
#299578
Does anyone has any handy PS query to get the details of each mount point and the associated LUN ID details?
If anyone has, please share.
Thanks.
Gazareth
One Orange Chip
Points: 27737
January 26, 2015 at 5:50 am
#1773068
LUN ID I'm not sure about, but this will do Drives & Mount Points:
gwmi -ComputerName servername -Class Win32_Volume | ? {$_.DriveType -eq 3}
Gary Varga
SSC Guru
Points: 82166
February 4, 2015 at 11:48 pm
#1775577
In case you are still looking then I have found some interesting links here:
http://rvdnieuwendijk.com/2012/05/29/powershell-function-to-get-disk-scsi-lun-number/[/url]
(See the comments too!!!)
https://social.technet.microsoft.com/forums/windowsserver/en-US/f9329531-6236-4c4e-9445-8cd7a165007b/getting-lun-for-a-cluster-disk-ressource-with-powershell
I hope that helps.
Gaz
-- Stop your grinnin' and drop your linen...they're everywhere!!!
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply