Skip to content

Instantly share code, notes, and snippets.

@IAMPetro
Created December 12, 2016 02:08
Show Gist options
  • Save IAMPetro/0c7ca3030fafba9506671ed44d761e4a to your computer and use it in GitHub Desktop.
Save IAMPetro/0c7ca3030fafba9506671ed44d761e4a to your computer and use it in GitHub Desktop.
SharePoint: Importing SharePoint Libraries & Lists
# Example - We will Import the Library exported above into the "Organizational Reports"
# team site located in a different Site Collection called "Reporting"
# The destination URL is http://intranet.contoso.com/sites/Reporting/OrganizationalReports
Import-SPWeb -Identity http://intranet.contoso.com/sites/Reporting/OrganizationalReports -path "C:\Exports\FinanceDepartment_ReportsLibrary.cmp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment