Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- get-spsite -limit all -WebApplication http://yourWebapplicationUrl | Out-File -FilePath "C:UsersYourUserNameDocumentsspSites.txt"
- Add-PSSnapin "Microsoft.SharePoint.PowerShell"
- Get-SPWebApplication http://yourwebapp.com | Get-SPSite | Select ID, Url | Out-File -FilePath "D:spSites.txt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement