Danp Posted March 20, 2020 Posted March 20, 2020 When sending an 'all staff' email the sender gets and error because of an account has been deleted. The account that has gone (mrsmith@) does not show in all staff because it's gone, but there must be another account that has a forwarder set, but I don't know which account! It has to be a mailbox and not a group. I'm guessing there must be a way to reverse search via PowerShell but I don't know how or what search term to find a way. Any suggestions?
djm968 Posted March 20, 2020 Posted March 20, 2020 You can use Powershell to list mailboxes that have forwarding rules set. $mailboxes=get-mailbox –resultSize unlimited $rules = $mailboxes | foreach { get-inboxRule –mailbox $_.alias } $rules | where { ( $_.forwardAsAttachmentTo –ne $NULL ) –or ( $_.forwardTo –ne $NULL ) –or ( $_.redirectTo –ne $NULL ) } | ft name,identity,ruleidentity 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now