Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 734 Bytes

File metadata and controls

31 lines (24 loc) · 734 Bytes

#Get-SPOTenantSite Office365 only: Uses the tenant API to retrieve site information.

##Syntax

Get-SPOTenantSite [-Detailed [<SwitchParameter>]] [-IncludeOneDriveSites [<SwitchParameter>]] [-Force [<SwitchParameter>]] [-Url <String>]

##Parameters

Parameter Type Required Description
Detailed SwitchParameter False
Force SwitchParameter False
IncludeOneDriveSites SwitchParameter False
Url String False The URL of the site
##Examples

###Example 1

PS:> Get-SPOTenantSite

Returns all site collections

###Example 2

PS:> Get-SPOTenantSite -Url http://tenant.sharepoint.com/sites/projects

Returns information about the project site.