PowerShell

HOW TO: Create a Dynamic Distribution Group by country or city

The Exchange console does not have pre-canned filter options for Country or City to be able to create a Dynamic Distribution Group (DDG, aka “Query-Based Distribution Group”) for all recipients or mailboxes in a particular country or city. You can use options to filter on Department, Company, State or Province, or the custom/extension attributes 1-15. […]

More →

Dynamic Distribution Group quirkiness in Exchange 2007

In “New Distribution Groups do not receive internet email by default“, I wrote about Devin’s observation that all new Distribution Groups created in Exchange Server 2007 do not receive internet/unauthenticated email by default. Here’s some more often overlooked Dynamic Distribution Group (DDG, aka “Query-Based Distribution Group” in Exchange/Windows Server 2003) quirkiness. When creating a new […]

More →

New Exchange Server 2007 mailbox stamped as legacy mailbox

If you use the Exchange Server 2003/2000 extensions to Active Directory Users & Computers (ADUC) console to create mailboxes residing on Exchange Server 2007 servers, these mailboxes get stamped as legacy mailboxes. Exchange Server 2007 mailboxes should be created using the Exchange (2007) console or shell. To remove the legacy tag from mailboxes created using […]

More →

New Distribution Groups do not receive internet email by default

New Exchange Server 2007 Distribution Groups created using the Exchange shell or console do not receive internet mail (i.e. mail from unauthenticated senders) by default. Thanks to Exchange MVP Devin Ganger for pointing this out. Figure 1: By default, new Distribution Groups created in Exchange Server 2007 are configured to receive mail only from authenticated […]

More →

HOW TO: Forward mail to a Public Folder

When trying to forward inbound mail for a recipient to a Public Folder using the Exchange console (Recipient ->Properties | Mail Flow Settings | Delivery Options | Forward to: ), the Recipient Picker GUI does not display mail-enabled Public Folders. This can be done from the shell using the following command: Set-Mailbox “Foo” -ForwardingAddress “[email protected]” […]

More →

HOW TO: Prevent a user from sending and receiving internet mail

Many organizations want to restrict certain sets of users from sendig or receiving Internet mail. “How do you prevent a user from sending or receiving Internet mail?” is a frequently asked question. Here’s how to accomplish this in Exchange 2010, Exchange 2007 and Exchange 2003. Restricting outbound Internet mail for some users On Exchange Server […]

More →

Why Get-TransportAgent doesn’t agree with the Exchange console

You disable a particular anti-spam agent — let’s say the Content Filtering Agent, using the Exchange Management Console (EMC). Figure 1: Disabling a transport “agent” in the Exchange Management Console Next, you use the Get-TransportAgent command to get the status of transport agents — and surprisingly the Content Filter Agent shows up as Enabled! Figure […]

More →

HOW TO: Add Email Addresses To Public Folders

A previous post shows how to add an additional email address to a mailbox/recipient [read “HOW TO: Add additional email addresses to a recipient“]. How do we add email addresses to Public Folders? It should be pretty simple – If Get-Mailbox shows the emailaddresses property for a mailbox, and Set-Mailbox allows you to use the […]

More →

HOW TO: Grant Full Mailbox Access permission

Follow-up to previous post “HOW TO: Assign SendAs right using Exchange shell” – the ability to assign SendAs and ReceiveAs permissions is preserved in Active Directory Users & Computers (ADUC), but the ability to grant Full Mailbox Access permission isn’t available. Full Mailbox Access is a mailbox permission (without getting into a debate about what’s […]

More →

HOW TO: Create Address Lists for Equipment Mailboxes

Exchange Server 2007 lets you create room and equipment mailboxes. Having these designated as resource mailboxes – either room or equipment – has its advantages as these get setup for resource booking without having to go through the cumbersome process of logging into such mailboxes and configuring calendar settings for each so they can be […]

More →