I have a simple ps script to upload a file to a SFTP site. The ps script works fine when I run it from the ps editor or drag the file to an open ps window.
When I call the ps script from a batch file there are no errors but the file does not get uploaded.
I am running the batch file with my domain admin account and I even tried the domain admin account but I get the same results, no errors but no file transfer.
TIA!