Instantly share code, notes, and snippets.

Embed
What would you like to do?
Connect-PnPOnline -Url $siteUrl -CurrentCredentials
Get-PnPProvisioningTemplate -Out $templateFileName -IncludeSearchConfiguration -IncludeNativePublishingFiles -PersistPublishingFiles -PersistBrandingFiles -ForceGet-Page -fileName $startPageFileName
Get-Page -fileName $startPageFileName
Get-WebParts -fileName $startPageFileName
Get-Page -fileName $myTaskPageFileName
Get-WebParts -fileName $myTaskPageFileName
Get-ScriptFiles
Clear-PermissionsInProvisioningTemplate
Disconnect-PnPOnline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment