Script Download:
The script is available for download from https://gallery.technet.microsoft.com/How-to-backup-SQL-Server-cba8f652.
This T-SQL script will demonstrate how to backup SQL Server database by PowerShell.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery