PDF Print E-mail

Working with Disks in PowerShell

Written by Daniel Mundy
Thursday, 18 February 2010 06:37

To list your physical drives, use the following cmdlet:

gdr | where {$_.Provider.Name -eq "FileSystem"}

gdr is an alias for Get-PSDrive, which includes all of the "virtual drives" for the registry, etc.

 

Trackback(0)
Comments (0)Add Comment

Write comment

busy
Last Updated on Saturday, 29 May 2010 20:11
 

Are you stuck?

This tech stuff isn't for everyone. If you'd rather just pay someone to fix it for you, email daniel@mundy.com.au.
I'll be happy to help you.


Daniel Mundy