Quantcast
Channel: PowerShell General
Viewing all articles
Browse latest Browse all 10624

How to link the output from win32_diskdrive and win32_volume

$
0
0

Hi,

I am doing some analysis on multiple servers and am looking at ways to link the output from the following 2 lines:

Get-WmiObject win32_volume | Select SystemName, name, Label, DriveLetter, serialnumber |ft -AutoSize

Get-WmiObject win32_diskdrive | Select systemname, name, serialnumber |ft -AutoSize

I would like to have a table outputting information that basically shows me which physical drive is linked to each drive letter\mount point and I can't see any common options to link the two.

Can anybody suggest how to do this?

Thanks


Viewing all articles
Browse latest Browse all 10624

Trending Articles