AsBuiltReport.Microsoft.AD
AsBuiltReport.Microsoft.AD copied to clipboard
Implement job scheduling and timeout on the report
Description
Currently there is no way to set a timeout in the report configuration. If a section gets stuck there is no way to set a time limit for the cmdlet to be dropped so that the report can continue with the rest of the content snippet.
Additional Context
https://stackoverflow.com/questions/61816084/powershell-how-to-force-timeout-invoke-command
Must read: https://community.spiceworks.com/t/setting-a-time-out-for-commands/829815/3
Before submitting
- [X] I have read the documentation, and referred to the known issues before submitting this change request.
- [X] I have checked for previously opened & closed issues before submitting this change request.
https://stackoverflow.com/questions/73045834/invoke-command-one-to-many-without-timeouts
https://4sysops.com/archives/invoke-command-dealing-with-offline-computers/
https://stuart-moore.com/running-simple-powershell-commands-against-multiple-servers-with-a-timeout/