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
- Enable Transaction for deep inside: Start-Transcript (Microsoft.PowerShell.Host) - PowerShell | Microsoft Learn
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
Feedback sent
We appreciate your effort and will try to fix the article