Here is the situation:
Some users have a real account and a ghost accounts/dummy accounts in same domain but with hyphen in the account name.
For example :
John Adams real account is domain\JA001 and his ghost account is domain\JA001-aa
So when we search in people picker by name it shows both accounts.
Question is how to exclude all users with *-aa to show in people picker?
Any help with PowerShell command will be highly appreciated.