Get a list of available site templates
Get-SPOWebTemplate
Create a new Site Collection
New-SPOSite -Url https://techshizz.sharepoint.com/teams/IT -Owner r[email protected] -Template "STS#0" -Title "IT Site"
You will be prompted to enter the site storage quota. I entered 300.
How do we know this worked?
Get-SPOSite
OR for more detail
Get-SPOSite -Identity https://techshizz.sharepoint.com/teams/IT -detailed | fl
To configure a site collection (i.e change settings)
Set-SPOSite -Identity https://techshizz.sharepoint.com/teams/IT -StorageQuota 750 -StorageQuotaWarningLevel 500
Delete or Restore a site collection
Remove-SPOSite -Identity https://techshizz.sharepoint.com/teams/IT -NoWait
Restore-SPODeletedSite -Identity https://techshizz.sharepoint.com/teams/IT -NoWait