none
Loop throurgh SharePoint Online Sites and Subsites

    Question

  • Hi guys,

    I've found this PowerShell script particularly helpful for getting the list of sites and subsites:

    Get-SPWebApplication http://site | Get-SPSite -Limit All | Get-SPWeb -Limit All | Select Title, URL, ID, ParentWebID | Export-CSV C:\InfoArch.csv -NoTypeInformation

    However, this script is for SharePoint On Premise and I'm using SharePoint Online

    Thank you for your help


    Codernater

    Thursday, February 2, 2017 11:41 PM

Answers

All replies