Forked from dmadelung/gist:d6a3c4be8defe00435365905f2e4cd23
Last active
March 5, 2019 17:02
-
-
Save bcameron1231/d832cdc7fdb3d74c26e5df57303cc03c 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
$sitedesign = Get-SPOSiteDesign | where {$_.Title -eq "Advanced Design"} | |
[System.Collections.ArrayList]$existingsitescripts = $sitedesign.SiteScriptIds | select -ExpandProperty Guid | |
$existingsitescripts.Add($sitescript.Id) | |
Set-SPOSiteDesign -Identity $sitedesign.Id -SiteScripts $existingsitescripts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment