AD/LDAP Administration Exchange 2007 Linux Mailbox Microsoft Scripts SMTP Windows

HOW TO: Export all email addresses from a domain

AD Users & Computers UI lets you list the mail column for each object, which displays the default (SMTP) email address for objects. You can export the list from ADUC as csv/txt. However, any additional email addresses in the proxyAddresses attribute are not exported.

There’s no GUI to list/export all email addresses. Here’s a script to do that – ListEmailAddresses.vbs.


What does it exactly do?
– Queries Active Directory for Contacts & Groups
– Lists their email addresses
– Queries Users
– Lists enabled users’ email addresses
– Lists disabled users’ email addresses separately
– Outputs to command line and also to a text file – c:proxyaddresses.txt
X.400 addresses are ignored

Exchange 2007 HTTP HTTP Redirect HTTPS Linux Outlook Web Access OWA Windows

HTTP Redirection in IIS7 on Windows Server 2008 for Exchange 2007

I spent a couple hours over the past two days trying to figure out how to redirect requests from the root of my domain to the /owa directory. To boot I wanted to redirect HTTP to HTTPS. I needed to simplify the method of connecting to Outlook Web Access – basically make it ID10T-proof. This way users don’t have to specify HTTPS or use the /owa directory. They can simply type in their browser and voila, they are directed to the right location.

As with most things more than one way exists to skin this cat. The two most common ways I discovered (both of which have some limitations and problems) were to either use HTTP REDIRECT in IIS Manager, or to use a custom 403 error page.

The simplest and most elegant solution I found was to create a one-line default.asp file. Of course you have to have ASP installed/enabled on the server and default.asp needs to be in (preferably alone or at the top of) your default documents list.

Wait no longer – all you need in the default.asp file is:

<% Response.Redirect “” %>

That’s it. It’s that simple!

Now when your users access (http://) they will magically and instantly be redirected to the secure and correct location of

Exchange 2007 Linux Windows Windows Vista

How to Install Exchange 2007 SP1 Prerequisites on Windows Server 2008 or Windows Vista

Launch a command prompt window as Administrator and run the following in order:

ServerManagerCmd -i Web-Metabase
ServerManagerCmd -i Web-Lgcy-Mgmt-Console

ServerManagerCmd -i PowerShell

ServerManagerCmd -i Web-Server
ServerManagerCmd -i Web-ISAPI-Ext
ServerManagerCmd -i Web-Metabase
ServerManagerCmd -i Web-Lgcy-Mgmt-Console
ServerManagerCmd -i Web-Basic-Auth
ServerManagerCmd -i Web-Digest-Auth
ServerManagerCmd -i Web-Windows-Auth
ServerManagerCmd -i Web-Dyn-Compression

ServerManagerCmd -i RPC-over-HTTP-proxy