PowerShell

Exchange Management Shell Quick Reference

Do you find yourself frequently searching for documentation related to Exchange shell commands? Can you find your way around but need a quick reference you can look up frequently without having to search for anything? Microsoft has an Exchange Management Shell Quick Reference doc on their web site – it’s an HTML doc but the […]

More →

View membership of a Dynamic Distribution Group

Dynamic Distribution Group is the Exchange Server 2010/2007 term for Query-Based Distribution Groups supported by Active Directory (and therefore Exchange Server 2003/2000) in Windows Server 2003. Unlike normal security and distribution groups, which have static membership (defined by manually adding users/recipients as members of the group), the membership of a Dynamic Distribution Group is determined […]

More →

New-Mailbox Parameters

When creating a new mailbox using the New Mailbox wizard in the Exchange console, you are required to enter a number of parameters. The Completion page/dialog box in the wizard shows the shell command used under the hood to create the mailbox. This functionality is quite useful in understanding the commands used by such wizards, […]

More →

Applying Managed Folder Policy to more than one user

Scenario: You have a Managed Folder Mailbox Policy called Policy-DeletedItems90Days. The policy has Managed Content Settings to permanently delete items in the Deleted Items folder after 90 days. You can easily apply this Managed Folder Mailbox Policy to a single user using the Exchange console, as shown in Figure 1. Figure 1: Applying a Managed […]

More →

Determine cluster configuration of mailbox server (CCR/SCC)

To determine whether a mailbox server is clustered or standalone, and if clustered – whether it’s using Cluster Continuous Replication (CCR) or Single Copy Cluster (SCC), use the following command: Get-MailboxServer | select name,ClusteredStorageType The possible values:1. NonShared = CCR cluster2. Shared = SCC cluster3. Disabled = standalone / non-clustered mailbox server

More →

Logging SMTP Protocol Activity in Exchange 2013/2010 and Exchange 2007

I wrote about logging SMTP protocol activity in Exchange Server 2003 in what is one of the most popular posts on Exchangepedia. Starting with Exchange Server 2007, Exchange discontinued using the SMTP stack in IIS and developed its own SMTP stack. I like to think of it as smarter or more intelligent Receive Connectors (these […]

More →

Protect users from spam from your own domain in Exchange 2010 and Exchange 2007

One of the common complaints from users and many messaging folks is spam received from senders that appear to be from your own domain. SMTP mail is exchanged with anonymous Internet hosts without any authentication. Headers can be and are effortlessly spoofed. Rather than using an unregistered or invalid domain in the From: header, many […]

More →

HOW TO: Convert a user mailbox to a resource mailbox

When creating a new mailbox (or a mailbox-enabled user) in Exchange Server 2010/2007, you have the option of creating a user mailbox or a resource mailbox — the latter for conference rooms, or equipment such as projectors, etc. to allow your users to book these resources. If you’ve already created a user mailbox instead, and […]

More →

Exchange Server 2007: Why aren’t Managed Content Settngs applied?

In Exchange Server 2010 and Exchange 2007, you can apply Managed Folder Mailbox Policies to mailboxes to control message retention. Conceptually, this is somewhat similar to Recipient Policy with Mailbox Manager settings in Exchange Server 2003, which is commonly used by administrators to accomplish tasks like emptying users’ Deleted Items folders after a specified period […]

More →

Enabling POP3 in Exchange Server 2007

As Terry Myerson posted on the Exchange team blog not too long ago (read previous post titled ” Exchange Server 2007 SP1: A bag of goodies!“), the Exchange Management Console will get POP and IMAP management – amongst other features – in Exchange Server 2007 SP1. Till then, the shell is the only option to […]

More →