Cmdlets for Microsoft Office 365

Build 23.0.8839

DirectoryRetrievalDepth Parameter (Connect-Office365 Cmdlet)

Specify how many folders deep you want to get results for Files table. The resources directly in the root are located at depth 0. The resources one folder deeper are located at depth 1 and so on. You can specify the value -1 to get all the data in a drive no matter the depth they're in.


Connect-Office365 -DirectoryRetrievalDepth string

Data Type


Default Value



This property must be set in the connection string or the driver will use a default of DirectoryRetrievalDepth=5.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839