Last active
June 25, 2020 05:28
-
-
Save Vintaurus/ce31c5e527bd7902f8f4ddce1019d152 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 $siteUrl -CurrentCredentials | |
Get-PnPProvisioningTemplate -Out $provisioningTemplateFilePath -IncludeSearchConfiguration -IncludeNativePublishingFiles -PersistPublishingFiles -PersistBrandingFiles -Force | |
Get-Page -fileName $pageFileName | |
Get-WebParts -fileName $pageFileName | |
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