Learn how to get all lists and libraries with two PowerShell scripts to understand what is going on in your SharePoint tenant.
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.