Wednesday 6 November 2013

sharepoint 2010 list all site collections name using powershell

Share it Please
  1.Click "Start" button
    2.Choose the "Microsoft SharePoint 2010 Products"
    3.Click the "SharePoint 2010 Management Shell" [ run as Administrator ]

    4.Create one folder in "C" Drive Named it data

Script:-

  Get-SPWebApplication http://SampleWeb:32033/ | Get-SPSite -Limit All | Get-SPWeb -Limit All | Select Title, URL | Export-CSV C:\data\IterateAllSitesSubsites.csv

Note :-
            http://SampleWeb:32033/ =Web application url
            C:\data = Export url

No comments:

Post a Comment

Followers

Follow The Author