How can you get scripts for the items like insert, delete ,view server state, ssis admin

I am new to the tool and am needing to extract and script permissions ( all, from connect to sq. agent operator etc.) for about 200 logons  over 600 databases. I have found that you have to do it Database by database but what is best way to get all permissions?