The PowerShell Orchestrator execution log provides a complete record of every script run โ whether triggered by a schedule, run manually on demand, or fired automatically in response to an alert. Reviewing execution history regularly helps confirm that assessments are running as expected, identify scripts that are failing, and retrieve assessment output for investigation or compliance purposes.
Accessing the execution log:
- Log in to the LT Auditor MP Web UI
- Navigate to Configure โ PowerShell Orchestrator โ Execution Log
- The execution log displays all script runs with the following information:
| Column | Description |
| Script Name | The name of the script that was executed |
| Target | The endpoint or cloud target the script ran against |
| Trigger Type | How the script was triggered โ Scheduled, Manual, or Alert |
| Status | The outcome of the execution โ Success, Failed, or Running |
| Started | The date and time the execution began |
| Completed | The date and time the execution finished |
| Duration | How long the script took to complete |
| Triggered By | The user or alert rule that initiated the execution |
Filtering the execution log:
To narrow down the execution log to specific runs:
- Use the filter bar at the top of the execution log
- Filter by any combination of:
- Script Name โ view runs for a specific script
- Target โ view runs against a specific endpoint or cloud target
- Trigger Type โ filter by Scheduled, Manual, or Alert
- Status โ filter by Success, Failed, or Running
- Date Range โ limit results to a specific time period
- Click Apply Filters
Viewing execution details and output:
To view the full details and output of a specific script run:
- Locate the execution entry in the log
- Click the entry to open the detail panel
- The detail panel displays:
- Execution Status โ Success, Failed, or Running
- Start and End Time โ exact timestamps for the run
- Target โ the endpoint or cloud target the script ran against
- Trigger โ what initiated the execution (schedule name, user, or alert rule)
- Script Output โ the full output returned by the script
- Error Messages โ any errors encountered during execution
- Exit Code โ the PowerShell exit code returned by the script
Understanding execution statuses:
| Status | Description |
| Success | The script completed without errors and output was forwarded to LT Auditor MP |
| Failed | The script encountered an error and did not complete successfully |
| Running | The script is currently executing โ output not yet available |
| Timeout | The script exceeded the maximum allowed execution time and was terminated |
Investigating failed executions:
If a script shows a status of Failed, use the following steps to diagnose the issue:
- Open the failed execution entry in the log
- Review the Error Messages section for details on what went wrong
- Check the Exit Code โ a non-zero exit code indicates a PowerShell error
Common failure causes:
| Error | Likely Cause | Resolution |
| Access denied | Service account lacks required permissions | Review and update service account permissions |
| WinRM connection refused | WinRM not running on target endpoint | Start the WinRM service on the target machine |
| Target unreachable | Network or firewall issue | Verify connectivity using Test-WSMan |
| Script timeout | Script taking too long to complete | Optimize the script or increase the timeout limit |
| Module not found | Required PowerShell module missing on target | Install the required module on the target endpoint |
| Authentication failure | Service account credentials expired | Update the service account credentials in the orchestrator configuration |
Viewing assessment results in LT Auditor MP:
Script output forwarded to LT Auditor MP is available in the View module alongside event data from other modules:
- Navigate to View in the Web UI
- Select the environment and category relevant to your assessment (e.g., Active Directory, Entra ID)
- Set the date range to cover the time of the script execution
- Filter by:
- Source โ select PowerShell Orchestrator
- Script Name โ filter by the specific script if needed
- Review the structured assessment data returned by the script
Exporting execution history:
To export the execution log for reporting or audit purposes:
- Apply your desired filters and date range
- Click the Export button
- Choose your format:
- CSV โ for Excel or data analysis
- Excel โ native Excel format
- PDF โ for audit documentation
- Click Download
Monitoring scheduled script health:
Use the execution log to confirm that scheduled scripts are running as expected:
- Filter the execution log by Trigger Type โ Scheduled
- Review the most recent run for each scheduled script
- Confirm:
- The last run time matches the expected schedule
- The status shows as Success
- The output contains the expected assessment data
- If a scheduled script has not run at its expected time, check:
- The script is set to Active in the script library
- The PowerShell Orchestrator service is running
- The target endpoint is reachable
Best practices:
- Review the execution log at least weekly to confirm all scheduled assessments are running successfully
- Investigate any failed executions promptly โ a failing assessment script means a gap in your security posture visibility
- Use the execution log as part of incident response to confirm that alert-linked scripts fired correctly and produced useful output
- Retain execution history exports as supporting evidence for compliance audits
- Set up an alert rule in LT Auditor MP to notify your team when a critical assessment script fails so issues are caught quickly rather than discovered during a log review
[Your administrator should define which assessment scripts are considered critical and ensure alert notifications are configured for any failures in those scripts.]