File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,15 @@ function Idm-SystemInfo {
4545 label = ' Recursive'
4646 value = $true
4747 }
48+ @ {
49+ name = ' recursion_depth'
50+ type = ' textbox'
51+ label = ' Recursion Depth'
52+ description = ' Max. depth of recursion'
53+ value = 1
54+ hidden = ' !recursive'
55+ }
56+
4857 @ {
4958 name = ' ignoreACEPermissionErrors'
5059 type = ' checkbox'
@@ -327,6 +336,7 @@ function Idm-ExplicitACEsRead {
327336 Force = $true
328337 LiteralPath = $path_spec.path
329338 Recurse = $system_params.recursive
339+ Depth = $system_params.recursion_depth
330340 ErrorAction = ' SilentlyContinue'
331341 }
332342
@@ -502,6 +512,7 @@ function Idm-FoldersRead {
502512 Force = $true
503513 LiteralPath = $path_spec.path
504514 Recurse = $system_params.recursive
515+ Depth = $system_params.recursion_depth
505516 ErrorAction = ' SilentlyContinue'
506517 }
507518
You can’t perform that action at this time.
0 commit comments