The command I'm running to map a network drive is:
New-PSDrive -Name "M" -PsProvider "FileSystem" -Root "\\domain.com\filepath" -Persist -Scope Global -Credential $userCredentials
The command maps the drive and the connection persists after closing the script, but after rebooting the drive disappears. I'm under the impression that adding the global scope supersedes the need for dot-sourcing, which I'd rather not do for the sake of this script.
Thanks in advance for your suggestions/answers!