I am calling a powershell script in a .bat file, via control-m. The job completes as soon as the .bat file is executed, but does not wait for powershell to complete or report on any errors. All jobs complete successfull. What can be done to resolve this issue?