Map a drive via PowerShell

Here’s a quick handy command to map a drive via PowerShell (Obviously change drive letter and server path for your environment)

New-SmbMapping -LocalPath F: -RemotePath serverfolder

About the author