DirectoryRetrievalDepth Parameter (Connect-CSV Cmdlet)
Limit the subfolders recursively scanned when IncludeSubdirectories is enabled.
Syntax
Connect-CSV -DirectoryRetrievalDepth string
Data Type
cstr
Default Value
"-1"
Remarks
When IncludeSubdirectories is enabled, DirectoryRetrievalDepth specifies how many subfolders will be recursively scanned before stopping. -1 specifies that all subfolders are scanned.