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
$adminUrl = "https://<tenant>-admin.sharepoint.com" | |
$newSiteUrl = "https://<tenant>.sharepoint.com/sites/Pensaerniaeth" | |
$ownerEmail = "<your.name@your.email.com>" | |
$siteTitle = "Pensaerniaeth" # Translates to "Architecture" - Bing Translator | |
$siteTemplate = "SITEPAGEPUBLISHING#0" # Communication Site Template | |
$lcid = 1106 # Welsh (https://capa.ltd/mui-lcids) | |
$timeZone = 2 # London (https://capa.ltd/sp-timezones) | |
Connect-PnPOnline -Url $adminUrl -NoTelemetry |
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
// Specified files extension that should be colorized | |
"colorize.languages": [ | |
"powershell" | |
] |
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 to SharePoint Online Admin | |
Connect-SPOService https://<tenant>-admin.sharepoint.com | |
# Disable NoScript feature | |
Set-SPOSite https://<tenant>.sharepoint.com/sites/<site> -DenyAddAndCustomizePages $false |
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
$tenant = "<tenant>" | |
$site = "<site>" | |
$siteUrl = "https://$($tenant).sharepoint.com/sites/$($site)" | |
Write-Host "Setting 404 page at $($siteUrl)..." | |
# Connect to SharePoint Online with PnP PowerShell library | |
Connect-PnPOnline $siteUrl -UseWebLogin |
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 to SharePoint Online Admin | |
Connect-SPOService https://<tenant>-admin.sharepoint.com | |
# Disable NoScript feature | |
Set-SPOSite https://<tenant>.sharepoint.com/sites/<site> -DenyAddAndCustomizePages $true |
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
<MetaData ShowPageProperties="true" PagePropertiesRow="1" PagePropertiesColumn="2" PagePropertiesOrder="7"> | |
<Field Name="Title" TargetFieldName="Title" Functions="" ShowInPageProperties="true"/> | |
<Field Name="SeoKeywords" TargetFieldName="" Functions=""/> | |
</MetaData> |
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
[ | |
{ | |
"Id": "28dad67b-adb8-4df5-822b-677d81968eda", | |
"Title": "Add Text and Tables to your modern page", | |
"Description": "", | |
"Url": "https://support.office.com/en-gb/client/add-text-and-tables-to-your-page-with-the-text-web-part-729c0aa1-bc0d-41e3-9cde-c60533f2c801?embed=true&ns=trainingservices&version=1", | |
"TechnologyId": "a97cb2db-55fb-43ec-8ded-67909ce1c61f", | |
"SubjectId": "", | |
"Source": "Microsoft", | |
"StatusTagId": "ecee7e26-7ac3-41b2-8d06-90843e3ec7a7", |
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
[ | |
{ | |
"Id": "94b00f50-5896-479c-b0c5-ff74603b35a3", | |
"Title": "", | |
"Description": "", | |
"Url": "", | |
"TechnologyId": "", | |
"SubjectId": "", | |
"Source": "", | |
"StatusTagId": "", |
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
[ | |
{ | |
"Id": "08365272-6868-4482-9384-b720d0121533", | |
"Title": "", | |
"Image": "images/playlists/", | |
"LevelId": "", | |
"AudienceId": "", | |
"TechnologyId": "", | |
"SubjectId": "", | |
"Source": "SOC", |
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
"Categories": [ | |
{ | |
"Id": "618da7fa-0ed2-4653-9dfd-271c3bbe3a44", | |
"Name": "Products", | |
"Image": "", | |
"TechnologyId": "", | |
"SubjectId": "", | |
"Source": "Microsoft", | |
"SubCategories": [ | |