Cmdlets for Microsoft Office 365

Build 25.0.9434

DirectoryRetrievalDepth Parameter (Connect-Office365 Cmdlet)

Specifies how far down in a Files table's subdirectories should be scanned to retrieve results. If DirectoryRetrievalDepth is not explicitly set, the driver uses a depth of 5 sublevels below the root (default).

Syntax

Connect-Office365 -DirectoryRetrievalDepth string

Data Type

cstr

Default Value

"5"

Remarks

To scan only resources located in the root, specify 0.

To get all the data in a drive regardless of what depth it's located in, specify a value of -1.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434