PnP copy .pst in one site collection to new library in another site collection

CC 96 Reputation points
2020-08-25T18:38:19.707+00:00

We are dealing with SharePoint OnPrem / 2016 in this scenario.

I have a library template located in Site Collection 1, and need to create a library in site collection 2 using this centrally located .pst file in Site Collection 1.

Every example I've seen so far has the .pst in the same site collection, but our scenario the .pst will stay in site collection 1 so there's one source of truth.

Is this an option? Does the .pst have to be in the same site collection where the new library is created if using PnP?

Please advise of any example where I could accomplish this.

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,955 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,546 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 47,216 Reputation points Microsoft Vendor
    2020-08-26T09:19:32.927+00:00

    If you want to create a library in the site collection 2 based on the library template file in the site collection 1, you must need to upload the library template file into the list templates gallery of site collection 2.

    Here’re some references about how to create list from custom list template by PowerShell.

    Create SharePoint list from list template using PowerShell
    How to upload custom list template and create list instance from custom list template using PowerShell in SharePoint 2013


    If the response is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.