Archive for category Exchange

Retrieve a list of stale Active-Sync devices


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 […]

11 Comments

Use the –Filter, Luke


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 […]

Leave a comment

Get-DistributionGroupMember Recursively


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 […]

21 Comments

Design a site like this with WordPress.com
Get started