SharePoint – Database – SQL options – Powershell

Ran into some challenges regarding database options on a few database. Turns out I didn’t completely agree with the default settings provided by Microsoft when SharePoint databases are created. So I created a Powershell script that will have a look at which databases are connected to SharePoint, find the proper SQL server and change the database options using the defined values in the script. I currently have  three categories defined, as that was my need. It should be easy to change the values, move databases between categories or define new ones.

I recommend that you read through the script before just running it, as the values defined might not be suited for your environment.

The script requires remote powershell to be enabled on the SQL server and could be run from the SharePoint server.


Comments welcome 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.