How can I return all AD Groups with a specific SID HISTORY value?
Hello how can I return all AD Groups with a specific SID HISTORY value?
I have tried something like this
$SID = “SID VALUE Here”
Get-ADGroup -Filter * | where{$_.sidhistory -eq $SID}
But it just returns blank.
Thanks
Hello how can I return all AD Groups with a specific SID HISTORY value? I have tried something like this $SID = “SID VALUE Here”Get-ADGroup -Filter * | where{$_.sidhistory -eq $SID} But it just returns blank. Thanks Read More