SharePoint Online: Get Subsites using PowerShell

Requirement: Get a subsite using PowerShell in SharePoint Online Get a Subsite using PowerShell in SharePoint Online As there is no PowerShell cmdlet to retrieve SharePoint Online subsite, Here is how to get a subsite (spweb) from PowerShell in SharePoint Online: This is equivalent to Get-SPWeb cmdlet in SharePoint On-premises PowerShell. SharePoint…

Read more

SharePoint Online: PowerShell to Get All Subsites in a Site Collection

Requirement: PowerShell to list all subsites in a SharePoint Online Site collection. SharePoint Online: Get All Subsites using PowerShell How to get all subsites in a site collection in SharePoint Online? To get all subsites of a site (either a top-level site or sub-site), use this PowerShell: This PowerShell script gets all…

Read more