TheEvent IDof thefinishedmessage will be0(success). If PowerShell exits with a non-zero exit code, theEvent IDwill be1(error). Here's an example of what asuccesslooks like;Event IDis0: HiddenPowershell Exited: C:\Temp\HiddenPowershell.vbs powershell.exe -WindowStyle Hidden -ExecutionPoli...