PowerShell Command to Export Sub Site


Export site with these option. This will include all customizations, user securities, list & libraries etc.

Export-SPWeb -Identity http://sharepoint-demo/IC -Path "c:\bkup\IC.cmp" -Force -IncludeUserSecurity -IncludeVersions All


Note :
·         http://sharepoint-demo/IC : You can change this site url. Put url of site which is going to be backed up.
·         C:\backup\IC.cmp : You can change backup path with file name. You have to keep extention .cmp as it is.




Comments

Popular Posts

SharePoint Interview Questions and Answers

Download Infopath Form Templates

How to get current logged user information using JavaScript ?

Steps to set Form based authentication (FBA) for SharePoint 2010

SharePoint Interview Questions and Answers II

Get List Items - JavaScript

Cross Site List Rollup Web Part for SharePoint 2010

Hide Recently Modified Items

Change Language for current user with JSOM in SharePoint Online

SharePoint 2010 CSS Chart