Get-SmbMapping or
net use
net use > network_drives.txt The net use command alone is what most Windows admins use daily to quickly see mapped network drives. cmd network drive list
net use | findstr /R "^[A-Z]:"
Get-PSDrive -PSProvider FileSystem | Where-Object $_.DisplayRoot -ne $null Get-SmbMapping or net use net use > network_drives