In switching from traditional mapped drives with an assigned drive letter (for example, N:\ or R:\), there are some changes that may need to be made to the way scripts or application preferences are managed.
Once OneDrive is activated all files can be saved via the local path located at: C:\users\%username%\OneDrive - University of Waterloo\
Scripting with OneDrive
PowerShell is the replacement for both Command and Batch files. PowerShell provides commands that allow one to interact with OneDrive (or other M365 Cloud Storage Locations).
...