Your revised script worked GREAT in SQLPS. Pasted it in. Ran it. Unzipped the files to the correct folder.
HOWEVER,when I used the same script as a Job Step, it made like the Energizer Bunny and kept running and running and running. Even tried it as a CmdExec calling the ps1 file. Same thing.
Thank you for your help.