An Engineers Notebook

Office 365: Managing SharePoint Site Collections (Power Shell)

Get a list of available site templates


Create a new Site Collection

New-SPOSite -Url -Owner [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?


OR for more detail

Get-SPOSite -Identity -detailed | fl

To configure a site collection (i.e change settings)

Set-SPOSite -Identity -StorageQuota 750 -StorageQuotaWarningLevel 500

Delete or Restore a site collection

Remove-SPOSite -Identity -NoWait
Restore-SPODeletedSite -Identity -NoWait

Leave a Reply

Your email address will not be published.