List Mapped Network Drives and Their Share Paths

Show every mapped network drive letter and the UNC path it points to using Win32_MappedLogicalDisk.

WindowsnetworkwmiFilesLow risk
Run `Get-CimInstance Win32_MappedLogicalDisk | Select-Object Name, ProviderName` in PowerShell.

01Command

Command
$ Get-CimInstance Win32_MappedLogicalDisk | Select-Object Name, ProviderName

02What it does

Mapped drives like Z: look like normal disks in Explorer but hide which server share they actually point to. File Explorer's This PC hides the full path unless you check properties, and net use only covers your own session. Win32_MappedLogicalDisk lists each mapping with its drive letter in Name and the underlying UNC share in ProviderName, which is exactly what you need when documenting a setup or fixing a broken mapping.

03Risk

RiskLow risk

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-09-19 · Category: Files & Folders

06Related solutions