Attached is a very simple script that is meant to simply pull the net detective report from the local directory and put it on the Kaseya.
The script works without issue IF I do not use variables and I hard code all the file names and such, naturally I need the variables.
Hope someone can shed some light on this issue.