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...
Blog
PowerShellRemoving 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...
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...
Create new view for a list in SharePoint Online with PowerShell
This is part 9 of 10 where we will be creating a new view for a list 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 site in part 2. In part 3 we...
Add content type to an SharePoint Online list with PowerShell
This is part 8 of 10 where we will be adding a content type to an SharePoint Online list 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 site in part 2. In part 3 we...