Powershell Commands

Posts: 1
Joined: Wed Jun 07, 2017 7:17 pm

Powershell Commands

Postby ConsulTech » Wed Jun 07, 2017 7:20 pm

Is there a powershell command to "check" the "Keep a copy of the message in mailbox" on the redirection tab of mailbox properties?

I'm building scripts to migrate large domains over and need to automatically check this on some mailboxes.


Posts: 1
Joined: Tue Jan 23, 2018 10:10 am

Re: Powershell Commands

Postby j.poen@gse.nl » Tue Jan 23, 2018 10:12 am

Just in case you did'nt find the solution:

Try this:

Set-MailEnableMailbox -Postoffice "gse.nl" -Mailbox "test" -Setting mailboxRedirectionStatus -Value "2"

0 = disabled
1 = enabled
2 = enabled + keep the copy

Who is online

Users browsing this forum: No registered users and 9 guests