IncludeSharePointSites Parameter (Connect-OneNote Cmdlet)
Whether to retrieve drives for all SharePoint sites when querying Drives view. If 'true' the provider will retrieve all Site IDs recursively and for each of them issue a separate call to get their drives. Therefore, be aware that setting this property to 'true' may decrease performance for the Drives view. Note that the SharePointAccessToken or OAuthJWTCert connection property must be specified to query the SharePointSites view and other views if IncludeSharePointSites is set to 'true' when using the CLIENT OAuthGrantType or the AzureServicePrincipal AuthScheme.
Syntax
Connect-OneNote -IncludeSharePointSites SwitchParameter
Data Type
bool
Default Value
false
Remarks
This property affects only Drives views.