We can use below command to see the list of shares mapped as network drives.
c:\> net use
See also:
Delete mapped drives command line
Map drive to network share from command line
We can use below command to see the list of shares mapped as network drives.
c:\> net use
See also:
Delete mapped drives command line
Map drive to network share from command line
How do we get list of Network map drives by running Powershell ??
any idea?
This will list all mapped drives for the user running the PowerShell console.
Get-WmiObject Win32_NetworkConnection | Select-Object RemoteName, LocalName | Sort-Object LocalName | Format-Table -AutoSize
Yes
In powershell,
Get-WmiObject Win32_NetworkConnection | ft "LocalName","RemoteName" -A
does not show that error
Regards