PowerShell

Add additional email addresses to a mailbox

In Exchange 2010/2007, you can use Email Address Policies to generate email addresses for your recipients (mailbox users, mail users, distribuiton groups, public folders, etc.). In Exchange 2003/2000, this was done by Recipient Policies. Policies are a great way to assign standardized email addresses across your organization – for example: <firstinitial><lastname>@<domain>. Users frequently request additional […]

More →

HOW TO: Assign SendAs right using Exchange shell

In Exchange Server 2007 (and Exchange 2010), recipients are managed from the Exchange Management Console (EMC) or Exchange Management Shell (aka the Shell). EMC does not have a Security tab for recipients. You can still use Active Directory Users & Computers (ADUC) console to modify permissions on a recipient, as the documentation suggests [“How to […]

More →

Exchange 2007 Content Filter: How to move messages to Junk Mail folder

You’ve setup Exchange Server 2007, and configured the shiny new Content Filter agent (CFA), which is more than just a rewrite of the equally loved and hated Intelligent Message Filter (IMF) from Exchange Server 2003. How do you configure it? Spam Confidence Level (SCL) Thresholds in Exchange 2007/2010 The CFA has the following three thresholds, […]

More →

How To Allow Relaying in Exchange 2010 and Exchange 2007

In Exchange Server 2003, you can allow anonymous SMTP hosts to relay mail by adding their IP address(es) in SMTP Virtual Server Properties | Access tab | Relay. Hosts that require anonymous relay capability include application servers and devices such as copiers, which scan documents and send them as email attachments. Figure 1: Controlling relay […]

More →

Bulk mailbox-enabling users using Exchange Shell in Exchange 2010 and Exchange 2007

In Exchange Server 2007: Bulk creation of mailboxes using Exchange Management Shell, I wrote about how to bulk create mailboxes (including user accounts) from a CSV/text file. This post is in response to readers who asked for a way to mailbox-enable existing user accounts. Bulk mailbox-enabling users using the EMC The EMC allows you to […]

More →

HOW TO: Get PowerShell version info

While the command ver (short for version) could get you the version info at a DOS/Windows command prompt, and winver does it in the Windows GUI, if you’re stumbling to find the version of Windows PowerShell installed on your computer, the command (cmdlet is the correct and official PowerShell term) you’re looking for is Get-Host. […]

More →

Message Tracking from the command line in Exchange 2010 and Exchange 2007

I’ve forever envied folks (including some colleagues— you know who you are… ) on the Linux/Unix side of things who were able to parse text log files generated by MTAs like Postfix/SendMail/EXIM in a fraction of the time it takes one to fire up Message Tracking Center on Exchange and search for a message. I […]

More →

Install anti-spam agents on Hub Transport server

If you’re using Exchange Server 2007 in a topology with an Edge Transport server, the anti-spam agents – Connection Filtering, Content Filter Hub Transport node in the EMC. After the antispam agents are installed, you can see the Anti-spam tab in Organization Configuration | Hub Transport node in EMC. If your console was open during […]

More →

New user does not show up in GAL

Scenario: You’ve created a new user (or any Exchange recipient that should show up in Exchange Address Books/GAL), but the recipient does not show up in the GAL in Outlook. Are you using Outlook 2003/2007 in Cached Mode? If yes, login using Outlook Web Access and try to send the user an email. Does the […]

More →

List users with automatic email forwarding enabled

Here’s a script written in response to a newsgroup post today on microsoft.public.exchange.admin. Exchange Server allows you to automatically forward inbound mail for one recipient to another recipient. You can forward messages to the alternate recipient, without delivering a copy to the original recipient (effectively redirecting inbound mail for the recipient), or deliver messages to […]

More →