SharePoint Powershell Import/Export and Move SPWeb



Export-SPWeb “http://sp2010/subsite” -Path "C:\subsite.cmp" -IncludeUserSecurity

Import-SPWeb “http://sp2010/subsite” -Path "C:\subsite.cmp" -IncludeUserSecurity -UpdateVersions Overwrite -Force

Get-SPSite "http://sp2010" | Propagate-SPContentType -Identity "Document" –UpdateFields


Move-SPWeb -Identity "http://sp2010/subsite" -Parent http://sp2010 -UrlName "BlankSubsite"

Comments

Popular posts from this blog

How to remove app from SharePoint 2013/2016

The model backing the context has changed since the database was created. Consider using Code First Migrations to update the database