Get the entire Site Structure in SharePoint Online using Powershell
0

The below code will will tell you how to Get the entire Site Structure in SharePoint Online using SharePoint Online Management Shell

  1. Get all Sub Sites from Site Collection  (Title and URL)
  2. Get All Lists from a Site  (Title and Item Count)

This is a working code for Office 365

Do make sure you install the SharePoint Online Client Components SDK

Code below (Achieved using CSOM):

 

Leave a Comment