Open
Description
Type of issue
Missing information
Feedback
Knowing that PowerShell functions are quite expensive (see: https://stackoverflow.com/a/75722847/1701026) it is better to avoid recursion as per helpful StackOverflow answer from @santisq:
The recommended approach would be to traverse your nested objects using a
Stack
orQueue
(or their generic counterpartsStack<T>
andQueue<T>
).
Page URL
Content source URL
Author
Document Id
9818d91b-8c5f-337a-f5e1-7a40abd5fd1a