I need to get a list of any user that has their Emails being forwarded to a particular user. Can someone help? I was trying the following but it is not giving me any results.
$RecipientCN = (get-recipient intel233).Identity
get-mailbox | Where-Object { $_.ForwardingAddress -eq $RecipientCN }
I know I have several mailboxes that are forwarded to that name.
$RecipientCN = (get-recipient intel233).Identity
get-mailbox | Where-Object { $_.ForwardingAddress -eq $RecipientCN }
I know I have several mailboxes that are forwarded to that name.