PowerTip: Use PowerShell to Find Where Drive Letter is Stored

The Scripting Guys

Dr

Summary: Use the Get-Partition and Get-Disk cmdlets to identify data storage locations.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily figure out which disk a particular drive letter is on?

Hey, Scripting Guy! Answer Use Get-Partition with the drive letter and pipe the results to Get-Disk, for example:

Get-Partition –DriveLetter Z | Get-Disk

The Scripting Guys
Dr Scripto

Follow Dr   

No Comment.