Powershell script that will display Exchange 2003 forwarded mailboxes

jahhan
jahhan used Ask the Experts™
on
I am in need of a powershell script that will display all the Exchange 2003 mailboxes that are configured with email forwarding.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
AkhaterSolutions Architect

Commented:
powershell is not really for exchange 2003 but this might help you
http://exchangeshare.wordpress.com/2008/05/26/faq-find-all-users-with-forwarding-address-is-set/

if not let me know

Author

Commented:
I reviewed both of these websites and since I am new to the scripting world I do not know how to start creating script to give me what I want.  I am using the powergui application to create and view this information.
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

AkhaterSolutions Architect

Commented:
in the first website, the first part is not a script, just a search from the GUI
AkhaterSolutions Architect

Commented:
further more the second site just copy paste the grey text in a file with extention .vbs and run it

just make sure to replace the 'dc=fabrikam,dc=com' with your dc dn
Chris DentPowerShell Developer
Top Expert 2010

Commented:

PowerShell will be able to get it via the altRecipient Property in AD.

With or without Quest's CmdLets? Or do they come with PowerGUI?

Chris

Author

Commented:
Chris,
How do I find out if it comes with Quest's cmdlet?
PowerShell Developer
Top Expert 2010
Commented:

Run:

Get-QADUser -LdapFilter "(altRecipient=*)" | Select-Object Name, altRecipient

If it doesn't work at all you don't have the CmdLets loaded (or installed).

If it works but doesn't give you altRecipient, make it:

Get-QADUser -LdapFilter "(altRecipient=*)" -IncludedProperties altRecipient | Select-Object Name, altRecipient

Chris

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial