Last active
September 10, 2017 18:27
-
-
Save ypcode/f3753396ba99e94ae90ad40e74dfbe0c 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 https://contoso.sharepoint.com/sites/dev -Credentials contoso | |
$page = Add-PnPClientSidePage -Name "Hello World" | |
Add-PnPClientSidePageSection -Page $page -SectionTemplate TwoColumn | |
Add-PnPClientSideText -Page $page -Section 1 -Column 1 -Text "Hello" | |
Add-PnPClientSideText -Page $page -Section 1 -Column 2 -Text "World!" | |
Add-PnPClientSidePageSection -Page $page -SectionTemplate OneColumn | |
Add-PnPClientSideWebPart -Page $page -Section 2 -Column 1 -DefaultWebPartType BingMap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment