On 22-11-2016 I presented a presentation with the title “Manage Office365 quick, painless and safe with PowerShell” at Experts Live 2016. During this presentation I showed several useful PowerShell cmdlets for Office365 and mainly for the Azure Active Directory,...
Blog
PowerShellPossible uses for the PowerShell loop through each site script
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...
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...
Get SharePoint profiles located in the Default User Profile Subtype
This PowerShell script will get SharePoint profiles located in the Default User Profile Subtype or any other Subtype under the User Profile Service Application. My colleague needed a script to list all profiles under the Default User Profile Subtype. You need to...