Hi there,
Looking for a way in PowerShell to remove a specific unresolved SID from a group.
Having an issue where a group is populated with accounts from a domain in another forrest. When the accounts are deleted the SID remains in the group unresolved.
I have written a script to generate a list of the unresolved SIDs but I'm unable figure out how to then remove these from the group as Remove-ADGroupMemeber fails to find the account.
Anyone got any Ideas?