Closed JRAndreassen closed 1 year ago
Hi @JRAndreassen,
Assuming the value of $recurse
is $true
, do you get the results you expect if you instead do
$ObjectParent | Get-Group -Filter $local:filter -Recurse:$recurse
The Get-Group
cmdlet allows you to specify several potential values by pipeline input
-Probe
-Group
-Filter
to useIn your case, it seems like you want to specify both a parent (-Probe
or -Group
) and a -Filter
. Only one of those can be specified by pipeline input, so for the other you will need to pass the value to the parameter directly
Are you able to advise if this resolves your issue?
Hello again @lordmilko ...
That was a quick turn-around...
Outstanding... That does indeed take care of the problem...
Thank you Sir... :)
What's going on?
Hi...
I'm trying to do a recursive search with a searchfilter.. This does not work, since it only gets the direct descendants
Is there a way to pass the parent object directly ? Like
Thanks JR
Due Dilligance