Get-PnPSiteTemplate - additional Handler needed for Page Templates only #880
Unanswered
AndreSchiemann
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The use case is to export all published custom page templates from a (usally communication) website.
Currently you need to export all pages from the library "Site Pages"
$basetemplate = Get-PnPSiteTemplate -OutputInstance -IncludeAllClientSidePages -Handlers PageContents,Pages -Schema LATEST -PersistBrandingFiles
and afterwards iterate trough the collection of all exported pages:
Thanks,
André
Beta Was this translation helpful? Give feedback.
All reactions