Check an unique ID of LUN by PowerShell
Veri Depolama Ünitenizden (Storage) windows sunuculara( Cluster Shared Volume,Failover Clustering) tanımladığınız her bir disk Unique ID ye sahiptir bu Unique ID ‘yi hangi drive path ‘ine tanımlı olduğunu öğrenmek için aşağıdaki cmdlet leri kullanabilirsiniz.
Unique ID öğrenmek için
Get-PhysicalDisk | format-list FriendlyName, UniqueId, ObjectId, BusType > c:\Unique.txt
Unique ID ‘nin hangi drive path ‘ine tanımlı olduğunu öğrenmek için
Get-Disk | Where UniqueId -eq <UniqueId> | Get-Partition | Select AccessPaths
Drive Path ve Unique Id ‘yi görüntülemek için
get-volume | Format-List UniqueId,DriveLetter