TSQL snippet – Grant a Login Read-Only Access to all databases on server

This snippet will generate a script that if run will grant access to all the non system databases on the server.