Cmd Network Drive List ((top)) – Premium

If you need more specific details or alternative views, you can use these variations:

You can list network drives using the Command Prompt (cmd) in Windows. Here are a few methods: cmd network drive list

For older scripts, you can query the Windows Management Instrumentation (WMI). This is useful if you need to output data in a specific format for automation. If you need more specific details or alternative

Using wmic :

Get-PSDrive -PSProvider FileSystem | Where-Object $_.DisplayRoot -ne $null cmd network drive list

: Whether the connection is active (OK) or disconnected. Local : The assigned drive letter (e.g., Z: ). Remote : The full UNC path (e.g., \\ServerName\Folder ).