Forum Discussion
Is there a way of getting all of the site pages using Get-PnPProvisioningTemplate ?
Hi
IS there a way of getting all of the site pages within a site using Get-PnPProvisioningTemplate and storing them in a ProvisioningTemplate ?
Currently, only the home page is extracted from a site.
Thanks
Nigel
- Deleted
Hi Nigel,
A few weeks back I saw a powershell script from Pieter Veenstra which was able to extract the pages.
it refers to this post i thought https://veenstra.me.uk/2017/03/23/office-365-pnp-replicating-sharepoint-based-intranets-pages-are-not-replicated/
kr,
Paul
- Nigel_Price9911Iron Contributor
Thanks Paul
I saw that post and I checked that scripting was switched on as per @Pieter Veenstra 's post.
Regards
Nigel
- Nigel_Price9911Iron Contributor
HI
If I Apply two templates to the same Site, the only difference between the two templates being the ClientSidePages section would this work ? @BertJansen @VesaJuvenon @ErwinVanHunen
Regards
Nigel