≡ Menu

PowerShell: How to get list of mapped drives

Mapped drives are the shares on remote computers for which you assigned a drive letter for easier access. We can query these drives and the target shares behind them with a simple and easy powershell one liner.

Here is the tip of the day. Happy Learning.


Get-WmiObject -Class Win32_MappedLogicalDisk | select Name, ProviderName


{ 2 comments… add one }
  • Alan October 24, 2012, 6:11 pm

    This is exactly what I needed in a pinch. Thanks for posting

Leave a Comment