Download the latest release: Find-AmbiguousSids.ps1
Useful when Exchange throws
NonUniqueRecipientException, but doesn't log the objects causing it.
Find-AmbiguousSids.ps1 [-GCName <string>] [-IgnoreWellKnown <bool>] [-Verbose]
Find all ambiguous SIDs:
Find all ambiguous SIDs while not ignoring the well-known ones, such as Everyone and other SIDs that always appear in multiple places:
.\Find-AmbiguousSids.ps1 -IgnoreWellKnown $false
Show each object being checked: