List users with email forwarded in Exchange 2007
Here's the 2007 on-liner version of Bharat Suneja's post on ExchangepediaBlog. He Explains how to list all users with email being forwarded to another recipient. The sample in file is vbs and is ~35 lines long.
>> get-mailbox | where {$_.ForwardingAddress} | select name, ForwardingAddress, DeliverToMailboxAndForward | format-table -autosize
Name ForwardingAddress DeliverToMailboxAndForward
---- ----------------- --------------------------
Administrator homelab.loc/Users/Shay True
User1 homelab.loc/Users/User2 False
PowerShell is sooooooooo COOL!!!
No comments:
Post a Comment