Forum Discussion
FrodeH
Dec 20, 2019Copper Contributor
Sharepoint-PNP - Is there a way to use PNP to update only one specific library?
I've managed to download a site template and make a new site based on this template, however the only thing i want updated is one specific document library. Is there a way to achieve this with PNP?
FrodeH
Dec 20, 2019Copper Contributor
Matti Paukkonen that is excellent! Can i also somehow specify a specific list?
Carlos_Marins
Dec 20, 2019Iron Contributor
Hey FrodeH ,
You can totally target a specififc list to generate a template from, using the "ListsToExtract" parameter in the Get-PnPProvisioningTemplate command. You can checkout the https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpprovisioningtemplate?view=sharepoint-ps#examples for more info, or let us know if you have any question.
Regards