Here's a script written in response to ng post today on microsoft.public.exchange.admin.
Requirement: List users with email being forwarded to another recipient. This can be done easily in ADUC console on Windows Server 2003 by creating a saved query.
Query text: (&(homeMDB=*)(altRecipient=*))
The other half of the requirement is to actually list the name of the user/mailbox being forwarded to. This is something ADUC can't do - there's no choice to add and display altRecipient in a column next to each user.
The script will show the user being forwarded to, and also if messages are being delivered to both places - the original recipient's mailbox and the alternate recipient.
Download the script here: listForwardingEnabled.zip
Requirement: List users with email being forwarded to another recipient. This can be done easily in ADUC console on Windows Server 2003 by creating a saved query.
Query text: (&(homeMDB=*)(altRecipient=*))
The other half of the requirement is to actually list the name of the user/mailbox being forwarded to. This is something ADUC can't do - there's no choice to add and display altRecipient in a column next to each user.
The script will show the user being forwarded to, and also if messages are being delivered to both places - the original recipient's mailbox and the alternate recipient.
Download the script here: listForwardingEnabled.zip

Exchangepedia Blog is read by visitors from all 50 US States and 150 countries world-wide

5 Comments:
Bharat, any chance you could help me out and mod this script a little. I ran it as is and there were over 200 users listed. This of course ran off the screen, and this is a report that I need to get across several of my email environments. We are in the process of collapsing email environments, to go form 12 to 1. Having the output sent to file would be brilliant.
Your help is greatly appreciated.
Kind regards,
David Buckley:)
David,
Output to a text file from any script is quite easily accomplished from the command line.
scriptname.vbs >filename.txt
OR
scriptname.vbs >filename.csv
creates a new file.
scriptname.vbs >>filename.txt
appends to an existing file.
I normally include a /f: switch with scripts to output to a file, but forgot to do that in this script. Will add this soon!
Bharat
I used this code to add to my "Saved Queries" and it worked perfectly. Thanks. I'm also looking for a reporting method to show mailbox usage for my Exchange 2000 server. Do you have any suggestions on reporting on this info?
I used this code in my "Saved Queries" and it worked perfectly. I am looking for a way to report on my Exchange 2000 users mailboxes to report on mailbox usage. (Whether or not they are actually being used by the Owner) Do you have any suggestions?
email me rod at rodharrison dot com
I used your code in my "saved queries" and it worked perfectly. I am looking for a method to report on my Exchange 2000 mailboxes to see if they are actually being used by the mailbox owner. Do you have any suggestions on how to do this?
Post a Comment
Links to this post:
Create a Link
<< Home