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