MSSQL database roles get all securables – Full script out the Database Roles
Thanks for the script to John Eisbrener – Check for new version here: https://dbaeyes.wordpress.com/2013/04/19/fully-script-out-a-mssql-database-role/
Thanks for the script to John Eisbrener – Check for new version here: https://dbaeyes.wordpress.com/2013/04/19/fully-script-out-a-mssql-database-role/
Here are a script, that you can include in yours script, to add Exchange management shell, to “normal” powershell scripts.
If you have a shellscript thats run okay from shell, but not will running from cron, run this command (This is what it looks like when cron run it)