How to get Katalon cmd to print in ADO Pipeline triggered powershell prompt


I am trying to finish my pipeline for testing in ADO.

I have my pipeline set so a powershell script will run the command from build cmd in katalon (katalon -noSplash -runMode=console ect ect)

However, when Powershell executes that command it runs the katalon cmd prompt in a new window, which messes up the pipeline process and wont pass/fail.

Is there a way to place the results from the katalon cmd prompt to the powershell script or has anyone found an alternate solution for ado results?

You do not have to look at messages printed into the console window. You can refer to the exitCode from the katalon command to see if your test passed or failed:

Thank you. Your .bat solution of the exitCode worked on that post.