Get-Node should always return unique nodes.
There is no point in returning a list from Get-Node that contains duplicate nodes for e.g. a path like: ~a*.. (where multiple leaf nodes -starting with an "a"- share the same parent).
This makes the -Unique switch redundant.
Get-Nodeshould always return unique nodes.There is no point in returning a list from
Get-Nodethat contains duplicate nodes for e.g. a path like:~a*..(where multiple leaf nodes -starting with an "a"- share the same parent).This makes the
-Uniqueswitch redundant.