Andy Levy wants a picture or at least a thousand words:
If you don’t have a monitoring suite watching SQL Agent, or you want to get a bigger picture view of when and how your Agent jobs are running,
dbatools
can help you shortcut getting this information.Get-DbaAgentJobHistory
does exactly what its name suggests – it fetches the execution history for one or more Agent jobs on one or more SQL Server instances. Thing is…it can produce a lot of output if you’re not careful.
Read on to see how you can use this to generate a visual indicator of when your jobs are running and how they fare.