If I am having MoveIT execute a batch file, which then executes a powershell file. Is there a way for powershell to tell moveIT that the entire powershell script was successful without having to create another file?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know what this MoveIT is, but the Powershell script should be able to do a
exit 0(for a successful completion) and the batch file can do aexit %errorlevel%to communicate success or failure. Using exit codes is the standard way of communicating success or failure while executing scripts.