Script Download:
The script is available for download from https://gallery.technet.microsoft.com/scriptcenter/How-to-check-SQL-Server-4fefea34.
This T-SQL script will check SQL Server stale statistics that may cause performance issues.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery