Archive for category Exchange
Retrieve a list of stale Active-Sync devices
Posted by Karl Mitschke in 2007, Exchange, PowerShell, V1 on December 4, 2009
We allow users who have signed the proper policy to access their Exchange mailbox via Active Sync devices. Users being users, though, we quite often have active sync devices that are registered to a mailbox, but are no longer in use. Users always have a clever excuse like “Oh, i lost that last year”, or […]
Use the –Filter, Luke
Posted by Karl Mitschke in Exchange, PowerShell on November 25, 2009
Quite often, I see questions like “Why is my Get-Recipient command so slow?”, with a syntax like: 001 002 003 $user1 = Get-Recipient -ResultSize unlimited ` |Where-Object {$_.emailaddresses -eq ` ‘karlmitschke@contoso.com’} You would think that would work lickity split, because there is only 1 result, me. Ah, not so fast, grasshopper. We are doing client side filtering – all recipients are returned by […]
Get-DistributionGroupMember Recursively
Posted by Karl Mitschke in Exchange, PowerShell on November 24, 2009
I had a need to get distribution group members for a specific group. Most people seem to install the free “ActiveRoles Management Shell for Active Directory” from Quest Software when they are facing a task such as this. With the Quest “ActiveRoles Management Shell”, you can do this like “Get-QadGroupMember <group name>–Indirect” I’m kind of […]


