Category Archives: Exchange 2007

Mailboxes with special permissions

Got auditors who want to review any mailboxes that have permissions granted for users other than the mailbox owner?  If you do you’ll appreciate the usefulness of this oneliner, which will give you a list of all of the mailboxes … Continue reading

Posted in Exchange 2007, Information Security, PowerShell, System Administration | Comments Off on Mailboxes with special permissions

Report users assigned to a specific ActiveSync policy

Want to know which users are assigned to a specific ActiveSync policy?  It’s fairly straight forward, but unfortunately it’s not a single command. You have to first retrieve the policy and assign it to a variable, then you can filter … Continue reading

Posted in Exchange 2007, PowerShell, System Administration | Comments Off on Report users assigned to a specific ActiveSync policy

Get Mailbox Count per Database Efficiently

As part of our migration from SCC to CCR in our Exchange 2007 environment, I had to write a script that evacuated all of the users off of a given mailbox server across a collection of other servers while taking … Continue reading

Posted in Active Directory, Exchange 2007, PowerShell, References | Comments Off on Get Mailbox Count per Database Efficiently

Reply-All to the AllUsers Distribution List Got you Down?

Work in a company long enough, and there will always be that user who does a reply-all to a large distribution list that spawns a huge reply-all storm.  This normally leads to questions about how it was even possible for … Continue reading

Posted in Exchange 2007, PowerShell, System Administration | Comments Off on Reply-All to the AllUsers Distribution List Got you Down?

Who was that message sent to?

Sometimes you need to know specifically who a message was sent to and there may be no obvious way to determine that (such as it may have been sent to a distribution group, or the sender may have used BCC, … Continue reading

Posted in Exchange 2007, PowerShell | Comments Off on Who was that message sent to?

Mailboxes Associated with Disabled Users

Periodically you may wish to identify mailboxes that are still active in Exchange 2007 but which are not associated with active AD users.  As you are aware, some mailboxes within Exchange require disabled accounts, so you generally want to exclude … Continue reading

Posted in Active Directory, Exchange 2007, PowerShell | Comments Off on Mailboxes Associated with Disabled Users

Report NDRs because a mailbox was full for the previous day

If you have service levels to maintain in your environment and a finite amount of disk space, there is a pretty good chance that you have mailbox quotas set to prevent users from over running your storage space. Periodically you … Continue reading

Posted in Exchange 2007, Lotus Notes Conversion, PowerShell | Comments Off on Report NDRs because a mailbox was full for the previous day

Checking for a failure after executing statement

In PowerShell, you can check to see if there were any errors reported by the previously executed cmdlet in several ways. The most useful that I found for basic error handling was the built-in variable $?, which indicates the success … Continue reading

Posted in Exchange 2007, PowerShell | Comments Off on Checking for a failure after executing statement