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