Not working commenting out code until I can get this working.

PSSession can't be used in a script. Damn...