A few posts ago I created a script that loops through each site in a site collection. The script is located at https://www.sharepointfire.com/2016/05/powershell-script-to-loop-through-each-sharepoint-online-site/. I’ll use this post to add all the commands I’ve used...
Blog
Office 365SharePoint birthday and anniversary web part using search results
This blog will show you in detail how you can create a birthday and anniversary web part using a search results web part with a custom Display Template and CSS. This web part uses the user profile birthday property which people can fill in their self. I’ve started...
PowerShell script to loop through each SharePoint Online site
This PowerShell script will let you loop through each SharePoint Online site to perform a specific action. I’ve been asked a couple of times to write a script to for example create a new document library in each site, add a web part or grant permissions. I always...
Editing Web Part properties with PowerShell CSOM in SharePoint
This PowerShell script can help when you need to change a Web Part property in SharePoint for multiple sites. We have used my script to create around 300 sites using a custom template. Certain sites were already in production when we found an issue with a certain Web...
Removing site, web and subwebs from SharePoint Online with PowerShell
We have all seen the error "There was a problem deleting Web site "/sites/RootSite/subweb1". Sites that have subsites or certain apps can't be deleted. Please try again after deleting all subsites and removing the apps." It could be that there is just 1 web site...
Set custom permissions for a site in SharePoint Online with PowerShell
This is the last part of this series 10/10 where we will be setting custom permissions for a site in SharePoint Online with PowerShell. This is part of the following series: We will be collecting all available web templates in part 1 so we can use this to create a new...