Thursday 20 April 2017

How to get list of site-collections in a particular web application using Powershell in a text file



get-spsite -limit all -WebApplication http://yourWebapplicationUrl | Out-File -FilePath "C:\Users\YourUserName\Documents\spSites.txt"

No comments:

Post a Comment