SharePoint

Get the entire Site Structure in SharePoint Online using Powershell

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):

 

local_offerevent_note

account_box dsouzajoel30


local_offer

Leave a Reply