Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Script to Create Welsh Site using PnP PowerShell
$adminUrl = "https://<tenant>"
$newSiteUrl = "https://<tenant>"
$ownerEmail = "<>"
$siteTitle = "Pensaerniaeth" # Translates to "Architecture" - Bing Translator
$siteTemplate = "SITEPAGEPUBLISHING#0" # Communication Site Template
$lcid = 1106 # Welsh (
$timeZone = 2 # London (
Connect-PnPOnline -Url $adminUrl -NoTelemetry
New-PnPTenantSite -Template $siteTemplate -Title $siteTitle -Url $newSiteUrl `
-Lcid $lcid -Owner $ownerEmail -TimeZone $timeZone
Write-Host "Script Complete! :)" -ForegroundColor Green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment