Link to home
Start Free TrialLog in
Avatar of David Sankovsky
David SankovskyFlag for Israel

asked on

Finding all mails with redirection

Hello experts,
I use an exchange 2010 environment and I use the following command to list all mailboxes that redirects mails
Get-mailbox -ResultSize Unlimited | select PrimarySmtpAddress,ForwardingAddress | where {$_.ForwardingAddress -ne $Null} > $env:userprofile\Desktop\forward.csv

Open in new window

I have 2 problems however, the "ForwardingAddress" Parameter doesn't actualyl give me the email address it redirects to, and the CSV file doesn't break the two parameters into different columns Can you help me?
ASKER CERTIFIED SOLUTION
Avatar of Amit Kumar
Amit Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Sankovsky

ASKER

It's a shame I can't see the Addresses, Thanks anyway, you did help me with column thing :)