Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

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 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>