Forum Discussion
HT686
Feb 06, 2020Copper Contributor
Connect user to different mailbox
Hi, I am very new to all the Exchange administration and not sure about the following task: I have two users, john smith with mailbox: john.smith@info.net invoice with m...
oliwer_sundgren
Feb 10, 2020Steel Contributor
Hello HT686
This could be done in two simple steps with Powershell / Exchange management Shell
First we disable/Disconnect the Invoice mailbox
Disable-Mailbox -Identity "Invoice@info.net"
Then we delete Johns mailbox
Disable-Mailbox -Identity "John.smith@invoice.net"
After this, we will now reconnect the Invoice mailbox, but to Johns AD user
Note that "MXDB01" Will need to be replaced with ypur databse name.
Connect-Mailbox -Identity "Invoice" -Database "MXDB01" -User "John Smith"
Let me know if you need further assistance
Kind Regards
Oliwer Sjöberg
HidMov
Feb 10, 2020Steel Contributor
I believe the Remove-Mailbox -Identity "John.smith@invoice.net" will also delete the john.smith AD user object at the same time. Replacing it with Disable-Mailbox should keep the AD account intact.
- oliwer_sundgrenFeb 11, 2020Steel Contributor