Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Removing unresolved SIDs from AD Group populated with cross-forest members

$
0
0

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?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>