How do I show all the mounted drives or mount points in my Windows system?
To get all of the file system drives, you can use the following command:
gdr -PSProvider 'FileSystem'
As you can see you now have all your Drive letters or Drives shown. From my example, I have my main OS Drive of C: a DVD Drive of D: and then 3 Shares of P: W: and Z:
How about a different way, but yielding a different results.
Get-WmiObject -ClassName Win32_MappedLogicalDisk | Select PSComputerName, Name,ProviderName
As you can see it only should the network mounted drives. Pretty nice little trick.