Unable to run PowerShell Script

Hello! I have been having issues trying to get a powershell script to run through Uipath. On it’s own (using the PowerShell ISE) it works fine. This is the error I get when I run the script:
image
I’ve checked for this file @ that file path and it does exist. I am currently using Invoke Powershell to run the script but have also used the Run PowerShell Script activity. I’ve also tried with and without parameters to no avail.