Skip to content

Instantly share code, notes, and snippets.

@sebastienlevert
Last active August 1, 2018 22:14
Show Gist options
  • Save sebastienlevert/2c51436bd0bf7db2f8245ad593a4943d to your computer and use it in GitHub Desktop.
Save sebastienlevert/2c51436bd0bf7db2f8245ad593a4943d to your computer and use it in GitHub Desktop.
# Connecting to your tenant
Connect-PnPOnline -Url https://tenant.microsoft.com
# Creating the Modern Site
New-PnPTenantSite `
-Title "Modern Site" `
-Url "https://tenant.sharepoint.com/sites/modern-site" `
-Description "Modern Site" `
-Owner "admin@tenant.onmicrosoft.com" `
-Lcid 1033 `
-Template "STS#3" `
-TimeZone 10 `
-Wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment