Last active
June 27, 2019 15:07
-
-
Save mirontoli/c600950e3d7eba76ff366335943dad0b 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
# Install | |
Install-Module SharePointPnPPowerShellOnline -Scope CurrentUser | |
# check version | |
Get-Module SharePointPnPPowerShell* -ListAvailable | Select-Object Name,Version | Sort-Object Version -Descending | |
# Update | |
Update-Module SharePointPnPPowerShell* | |
# connect with mfa | |
Connect-PnPOnline -Url https://takana15.sharepoint.com/sites/tolle016 -SPOManagementShell -ClearTokenCache | |
# get template; you need to extract it, it is just a zip file | |
Get-PnPProvisioningTemplate -out template.pnp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment