Drive LocalName \\server\share Z: \\server2\share Y:
:: Using net use net use
The standard way to view mapped network drives in Command Prompt is the net use command. cmd network drive list
------------------------------------------------------------------------------- OK Z: \\Server-01\Public Microsoft Windows Network Disconnected Y: \\Server-02\Backups Microsoft Windows Network The command completed successfully. cmd network drive list
Get-SmbMapping
While net use is the standard, there are specific scenarios where other commands are useful. cmd network drive list