Saturday, January 1, 2011

Export a list in SharePoint 2010 using PowerShell

If you want to export a list in SharePoint 2010 using PowerShell, you can
use the PowerShell cmdlet Export-SPWeb.

In this example, we export the document library “Documents” located in our
root site, including all versions and permissions.


Export-SPWeb http://youSPSite/ -path ”D:\backup\Documents.cmp”
`

-ItemUrl /Documents -IncludeVersions All -IncludeUserSecurity

2 comments:

Posting is provided "AS IS" with no warranties, and confers no rights.