For many admin tasks for SharePoint 2013 using PowerShell you need to have DB_Owner for all SharePoint databases. The Add-SPShellAdmin command no longer granted DB_Owner to the SharePoint databases, instead grants the user the "SharePoint_Shell_Access" role.
I want to run a scheduled task that will automatically add a list of users as DB_Owner to all of the SharePoint database.
How can this be done.