Saturday, April 11, 2015

How to get all site Collection, Sub-site, sub-site under the site in web Application using Powershell Script

Powershell:

Step 1 :Open the Powershell command prompt
Step 2 : Copy paste this script.
Get-SPSite -WebApplication "http://trig-o-1117:1111/" -Limit All |
Select -ExpandProperty AllWebs |
ft url, Title, Created -auto > c:\mysite.txt

No comments:

Post a Comment