Cmd Network Drive List

While net use is the standard, there are specific scenarios where other commands are useful.

New connections will be remembered.

:: Using powershell powershell Get-WmiObject -Class Win32_MappedLogicalDisk | Select-Object -ExpandProperty DeviceID cmd network drive list

Get-PSDrive -PSProvider FileSystem | Where-Object $_.DisplayRoot -ne $null While net use is the standard, there are

powershell Get-WmiObject -Class Win32_MappedLogicalDisk | Select-Object -ExpandProperty DeviceID While net use is the standard