Executing all SharePoint 2010 Health Analyzer Jobs

One of the most useful lines of PowerShell script (as far as SharePoint 2010 goes) has to be the ability to kick off all of the SharePoint Health Analyzer timer jobs in one shot. This single-line of PowerShell is something you should always have in your back pocket, whether you're validating a newly built farm or performing post-maintenance testing. Once you've loaded the SharePoint snapin, simply execute the following line of PowerShell, then surf over to Central Administration to check the farm health.

Get-SPTimerJob | Where {$_.Name -like "*Health*" -and $_.Name -like "*-all-*"} | Start-SPTimerJob