SharePoint get all sites and subsites PowerShell script

SharePoint sites are created very fast. With a few clicks, admins and users can create dozens of sites and subsites. Since it is so easy to create sites, we as admins should have an overview, what is going on at our SharePoint environment. I wrote scripts for this purpose to get all sites and subsites of your SharePoint, so you can trim your SharePoint to your business needs. You will find a script for SharePoint Server and SharePoint Online.

Continue ReadingSharePoint get all sites and subsites PowerShell script
young bearded man feeling extremely shocked and surprised, anxious and panicking, with a stressed and horrified look and working with a laptop
Shocked guy

SharePoint recycle bin: How to restore files with PowerShell

It is easy to delete SharePoint files by mistake. In this article, I will how you can restore SharePoint files in the GUI and also with PowerShell. You will also learn how to filter on specific deletors, to restore only the SharePoint files, deleted by a specific user. Enclosed there is a ready-to-run script, which you can use to restore your SharePoint files.

Continue ReadingSharePoint recycle bin: How to restore files with PowerShell