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.
Bookmark
Email this
Hits: 49
Trackback(0)
Comments (0)

Write comment
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



