@kman1232 Create a batch file and get it to work like that first. Batch files have a .bat extension, they are considered a windows executable type of file.
You’d upload the script into a new snapin, then test deploy that on a client and see if it works or not.