Created
October 7, 2019 00:18
-
-
Save garrytrinder/ceafd056ea313afb6a8d86f7049310bc to your computer and use it in GitHub Desktop.
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) | |
for theme in $(echo $themes | jq '.name'); do | |
o365 spo theme remove -n $theme --confirm | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment