Issue retrieving hard-disk volumes
<p>On my computer, I have following disk drives. </p>

<p><a href="https://i.stack.imgur.com/XRelk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XRelk.png" alt="enter image description here"></a></p>

<p>I only want to get list of hard-disk volumes, which in this case should be C and E. I have following script and its output.</p>

<pre><code>PS C:\Users\Administrator&gt; Get-WmiObject Win32_LogicalDisk | Select Name

Name
----
A:
C:
D:
E:
</code></pre>

<p>How can I get desried volumes in this case? I am using PS Version 2.0.</p>