This one liner PowerShell code, will list UNC path and it's corresponding mapped drive letters.
Get-WmiObject Win32_NetworkConnection | ft "RemoteName","LocalName" -A
Sample output:
RemoteName LocalName
---------- ---------
\\MyNetworkDrive\Servers F:
\\FileServer\File Data S:
\\192.168.1.170\MyLibrary L:
Comments
Post a Comment