Home » Computers » Scripting » Map a Network Share with PowerShell

Map a Network Share with PowerShell

Use the New-SmbMapping command to map a remote network share to a local drive letter.

New-SmbMapping -LocalPath Y: -RemotePath \\server\ShareName