How to investigate failed Powershell Runbook

Modified on Tue, 24 Sep at 4:11 PM

Here, we want to help you investigate failed PowerShell Automation when triggered by au2mator




TABLE OF CONTENTS


Step 1: Check History

  • Navigate to "My Requests/Hirtoy" and see if the Job was triggered and see the response.


Step 2: Check logs

  • Navigate to your File Explorer on the au2mator Server
  • Folder "C:\inetpub\au2mator\Logs" and see the latest Log File for Details


Step 3: Implement Logging in your Script

  • Implement a Logging function in your Powershell Script to see where errors occur.


Step 4: Transaction


Step 5: Does the PS1 execute without au2mator?

  • Check the PS1 for any Syntax errors and try to execute directly without au2mator


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article