Last active
September 26, 2019 10:31
-
-
Save gautamdsheth/54cde61be169649aa0b4619e2a349edf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connect-PnPOnline -Url "https://<your-site-url>" | |
# Assumes that you already have a page named IT.aspx | |
# created and ready to be used as a template | |
$page = Get-PnPClientSidePage -Identity "IT.aspx" | |
# Save the page as template to be reused later-on | |
$page.SaveAsTemplate("IT_Template.aspx") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment