Run batch file on remote computer powershell. ps1 and I would get the same errors.