Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Connect-PnPOnline https://contoso.sharepoint.com/sites/dev -Credentials contoso
Add-PnPClientSidePage -Name test -LayoutType Article -PromoteAs NewsArticle -Publish -PublishMessage "Final version"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment