Created
October 6, 2019 22:40
-
-
Save garrytrinder/c9352a183ca12890f58b1176180499b1 to your computer and use it in GitHub Desktop.
Delete all custom colour themes from SharePoint
This file contains hidden or 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
o365 login -t password -u $(username) -p $(password) | |
$themes = o365 spo theme list -o json | ConvertFrom-Json | |
$themes | ForEach-Object { | |
o365 spo theme remove -n $_.name --confirm | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment