Hallo!
We are using Exchange 2013 and I have a user that has enabled an Out of Office rule that forwards email to an other mailbox when the user is Out of Office and that Forwardning rule needs to be removed!
Is it possible to use PowerShell to disable the Forwarding rule or do I need to access the users mailbox in OWA?
It have tried to get information about this rule by using;
- Get-Mailbox XXXX | Select ForwardingAddress - Returns nothing.
- Get-Mailbox XXXX | Select ForwardingSMTPAddress - Returns nothing.
- Get-Mailbox XXXX | Get-InboxRule - Returns "The operation could not be performed because XXXX couldn't be found (no rule is found for the user)
- Get-Mailbox XXXX | Get-MailboxAutoReplyConfiguration - This shows that AutoReply is enabled, the message, etc. but it does not show anyting about the Auto
Please note that I do not want to disable the users Out of Office message, just the rule that Forwards emails!
Please verify that your sollution works before posting, or confirm that this is not possible to do in PowerShell!