PowerShell

Controlling OOFs per domain and per mailbox

OOFs can be controlled per domain using Remote Domain settings. By default, setup creates the default Remote Domain for address space *. (As with Connector namespaces, * translates to all domains for which Exchange isn’t authoritative/has an Accepted Domain for, and doesn’t have an explicit Remote Domain for). Figure 1: Remote Domains allow control of […]

More →

Exchange Quick Audit: mailboxes created in last 7 days

I remember writing plenty of scripts to report on different things such as user accounts created every week/month, user accounts modified, accounts disabled, etc. for SOX compliance. Some of those scripts used to be rather long, and in hindsight— involved a lot more lines of code than an administrator should have to write. Although I […]

More →

List Exchange ActiveSync users and device information in Exchange 2007 and Exchange 2010

One of the requirements for managing mobile devices in an organization is reporting on users with a mobile device, the model or type of device, and optionally other information such as the DeviceID, the time of the last successful connection. In How to get a list of Exchange ActiveSync users we list Exchange ActiveSync (EAS) […]

More →

Starting Task Manager in RDP or VM sessions

You have a RDP (Terminal Services) session or a Virtual Machine session open, where the CTRL-ALT-DEL key combination fires up the Windows Logn/Security dialog on the host computer rather than the RDP or VM session you have open. Getting to the Task Manager involves some mouse-clicks in such situations— Start -> Windows Security -> Task […]

More →

Quick antispam report or status check?

Having received an annoyingly higher proportion of spam in my Inbox this morning, I wanted to quickly check what the antispam agents are doing. Here’s a quick cmdlet (besides the ones to check whether the antispam agents are enabled, checking the Content Filter SCL thresholds, etc.). Get-AgentLog -StartDate “6/16/2008” | group action | ft name,count […]

More →

Removing internal host names and IP addresses from message headers

Another frequently asked question about SMTP mail – how can I remove internal host names and IP addresses from outbound Internet mail? More often than not, this results from the belief that somehow if the outside world finds out an organization’s internal IP addresses and host names, it makes the organization vulnerable. Auditors love to […]

More →

Standby Continuous Replication (SCR): Replay and Truncation Lag

Standby Continuous Replication (SCR) is a new High Availability feature in Exchange Server 2007 SP1. It uses Continuous Replication (also used by LCR and CCR) to replicate Storage Groups from a clustered or non-clustered mailbox server, known as a SCR source, to a clustered or non-clustered mailbox server, known as a SCR target. SCR is […]

More →

Routing outbound mail using a particular IP address

A question that frequently and inevitably pops up when discussing Exchange transport is that of being able to route outbound mail using a particular IP address. The Exchange Server 2003/2000 transport architecture was confusing for many newcomers— the difference between an SMTP Virtual Server and an SMTP Connector being the main cause of this confusion. […]

More →

HOW TO: Delegate recipient administration for an OU

Exchange Server 2007 allows easier delegation of administration responsibilities, based on the following predefined administration roles:1) Exchange Organization Administrator 2) Exchange Server Administrator 3) Exchange Recipient Administrator 4) Exchange Public Folder Administrator and 5) Exchange View Only Administrator. Figure 1: Exchange Server 2007 allows delegation of administrative responsibilities The delegation wizard in the EMC allows […]

More →

How to forward mail to an external email address

In Exchange Server 2003, mail for a recipient can be forwarded to an alternate recipient by modifying the recipient’s Delivery Options in ADUC | recipient -> properties | Exchange General tab. Figure 1: Use Delivery Options to auto forward email to an alternate recipient in Exchange 2003 If you need to forward mail to an […]

More →