Script Download:
The script is available for download from https://gallery.technet.microsoft.com//How-to-get-the-backup-ea70af7f. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This T-SQL script will demo how to get the backup history of databases in SQL Server.
As many people asked how to get the backup history of SQL Server databases, this script will provide some convenience.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery