Exchange 2007 Get-Recipient does not return all results
Posted on 2013-06-21
I just ran into a strange issue with the Get-Recipient commandlet from Exchange 2007 SP3. I am no PowerShell guru, but it is my understanding that by just running the command, I would get a list of all recipients in the system:
Get-Recipient (with no parameters)
I ran Get-Recipient | Sort-Object Name | Select-Object Name,RecipientType
When I look at the resulting list, I noticed some users were not on that list.
If I add some parameters to the Get-Recipient command to specifically look for that user, they show up. For example:
Get-Recipient "lastname*" | Sort-Object Name | Select-Object Name,RecipientType
Get-Recipient * | Sort-Object Name | Select-Object Name,RecipientType
The question I have is, why aren't the users showing up by just running Get-Recipient?