CopyMMSFiles
CopyMMSFiles copied to clipboard
Write to Subfolder of Current Folder Instead of Hardcoded Path
IMO, it would be better to write the script output to a subfolder off the script's current path. For example: .\MMS
Getting the current folder can be a little tricky depending on how the script is being run.
Personally would be hesitant to change the default paths since they've been in use for a bit of time. However, could possibly entertain an additional switch such as -DownloadToScriptDirectory that would override $DownloadLocation to the script directory?
Would it be best to download directly into the same folder, or a child folder as you proposed? If child folder, I suspect we might have to add another parameter?
@AndrewJNet - thoughts?