SharePoint

How to remove SharePoint User Groups with PowerShell

For deleting SharePoint groups you can use SharePoint Designer. For this you should open site in SPDesigner, in left column goto “Site Groups”, select groups for deleting and press Delete button on keyboard or in ribbon. But this process doesn’t always work. And when I wanted to remove user groups SPDesigner hanged and reported error […] Read more»

SharePoint

Delete SharePoint sites recursively

Today I tried to delete a SharePoint site (SPWeb) with child sites inside. I tried to delete it form administrator interface but I got an error. Something was wrong with templates or site structure. So I decided to use PowerShell for SharePoint. Read more»

SharePoint

Correct way to delete all SPListItems

SharePoint 2016 Logo

Today while coding a Sharepoint timer job I needed to clean my SPList. I tried common ways of deleting using “foreach” and “for i++ …” but I got the error. I couldn’t delete list and create it again in timer job because of custom views. As usually for SharePoint solution is not ordinary 🙂 Read more»

SharePoint

Popular Posts