Export all subsites
-
16-10-2019 - |
سؤال
I am looking for a quick way to export all sub-sites from a web application and exclude the root url, is there a quick way to accomplish this?
المحلول
maybe this can help :
Get-SPSite http://yourwabapp/sites/sitecol | Get-SPWeb | Where-Object { $_.ParentWeb -Ne $null } | ForEach-Object { Export-SPWeb -Identity $_ -Path $_.ID }
you will need to adjust the export params according your needs
لا تنتمي إلى sharepoint.stackexchange