Script Download: BackupDBsOnInstances.zip
http://gallery.technet.microsoft.com/scriptcenter/How-to-back-up-SQL-Server-a997fde9
This PowerShell script will demo how to back up all the SQL Server databases in all the instances on a server.
As some people asked how to back up databases from multiple instances, this sample will demo how to back up all the SQL Server databases in all the instances on a server.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery