Scripting project for SharePoint sites’ cleaning

Posted by amaretto_sh@reddit | sysadmin | View on Reddit | 19 comments

Hello!

I’m an intern and just got the mission of cleaning useless sites from SharePoint by hand. A lot of it is repetitive and I’m pretty sure there is a way of automatising it. This project concerns < 2Go sites.

My top goals are :

I’m admin in my society, with an OnMicrosoft address. I’ve already tried the first one but to no avail, and I feel like I’m not going the right direction (I get errors concerning my ID but I have all the rights and can do most of the manipulations by hand).

Is this attainable? Is it too hard for my level? Where should I dig first? What tools do I have at my disposal?

A part of me is convinced that if I can do it with GUI, it means there is a way to do it even better with a CLI, but I’m not familiar enough with PowerShell and Microsoft’s limitations to attain this goal.

Thank you all!