July 2017
Beginner
222 pages
5h 2m
English
Aside from global settings, site collections are the primary target of the SharePoint Online administrator.
Let's use the Get-SPOSite command to list all the site collections in the tenant. In this example, we are filtering out sites that contain contentTypeHub in their URL and using the IncludePersonalSite option so that personal sites are not excluded:
Get-SPOSite -Filter { Url -notlike 'contentTypeHub'} `-IncludePersonalSite $true
The fact that personal sites are excluded by default is an indication of how the API tries to avoid loading information unless necessary or explicitly requested. This is a deviation from on-premise and is a sensible approach for a managed deployment such as Office 365, ...
Read now
Unlock full access