A collection of scripts that you can put together when working with Site Designs and Site Scripts in SharePoint Online.
- Creating site scripts and site designs
- Add and remove site scripts from an existing site design
- Setting site design view rights
- Getting site scripts from a list
- Viewing status and information about previous ran or running site designs
I put together a collection of scripts that I found helpful for administering Office 365 Groups. I put this script up on Github as I plan to add to this as I find other helpful scripts. Please feel free to add any goodness that you find! Some of the scripts included are basic such as add and edit but there are also scripts that do things like:
- Get all groups that don’t have owners
- Set Azure AD creation restriction
- Configure multi-domain management
The ability to enable email notifications for SharePoint task lists through the GUI was removed in SharePoint 2013. This can be turned on via Powershell as seen in this script. When this feature is enabled it well send an e-mail when ownership is assigned or when an item has been changed. In a high transactional task process (automated task creation as example) this could lead to an incredible amount of emails. Fortunately we have the ability to change the types of event that fire these emails in powershell. The primary use case I used this for is too only send task emails on creation of the item (Add).
This script can be used get a list of all document libraries that have the Require Check Out option set to true in a web application. This will traverse all site collections and subsites in a site collection. I have confirmed this works with SharePoint 2010 and 2013.
This script will create subsites across multiple site collections based on a CSV file and also disable and enable certain site features. This script will also create 3 custom permissions groups if requested along with the ability to handle custom site templates.
Script to set the Offline Client Availablity option for a site collection and optionally all of it’s subsites via CSOM. This works on Classic and group sites within SharePoint Online. Setting this property to true does not disable synchronization but hides it from the toolbar.
All of my presentations are hosted on SlideShare. Here are few of my most recent.