Run Script - Powershell last exit codes are not working as expected