How to take Differential Backup for all user database?

This scritp you can use if you need to take differential backup for all user databases of instance. Script below exclude system database(Master, Model, MSDB and TempDB). Source for name of dtabase is Select from sys.databases.

My script below:

Result looks like this:

Differential backup

Thank you for visit!