Created
January 14, 2019 17:31
-
-
Save chrisobriensp/3def122540ea192f6fe0dc83496129e8 to your computer and use it in GitHub Desktop.
Registers a SharePoint site script
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
| $creds = Get-Credential | |
| $tenantAdminUrl = "https://[TENANT]-admin.sharepoint.com" | |
| Connect-SPOService -Url $tenantAdminUrl -Credential $creds | |
| Get-Content 'C:\[PATH]\COB_ProjectSite.json' -Raw | Add-SPOSiteScript -Title "COB project site script" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment