Cmdlets for Box

Build 25.0.9434

DirectoryRetrievalDepth Parameter (Connect-Box Cmdlet)

Specifies the maximum folder depth the provider retrieves when querying the Folders and Files tables.

Syntax

Connect-Box -DirectoryRetrievalDepth string

Data Type

cstr

Default Value

"5"

Remarks

This property controls how many levels of nested folders the cmdlet scans when querying the Folders and Files tables.

If this property is not set, the cmdlet uses a default retrieval depth of 5.

Use a lower value to reduce query time in environments with large directory structures, or increase it if you need to access deeply nested files and folders.

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