Hi,
The goal is to find out how many User accounts in domain 'A' have a SidHistory entry in their SidHistory property from domain 'B'.
So if the domain SID is something like S-1-5-21-3806532393-412345416-1447653367, I'd like to use Powershell to extract each user account's SidHistory values (multiple ones if they exist) and compare to see if this domain SID exists on a entry in the SidHistory attribute. I've done some prelim testing, but SidHistory seems tricky.
Can I do this in Powershell?
Thanks for your help! SdeDot