Who's Online
2 visitors online now
0 guests, 2 bots, 0 members
Support my Sponsor
  • An error has occurred, which probably means the feed is down. Try again later.

Difference between Disable-Mailbox and Remove-Mailbox command

Performing migration to Exchange Online, but there are few unused mailboxes which are causing issue during migration. Need to remove the mailboxes from Exchange but don’t want their AD account to deleted, so that they can login into domain and access files.

Checked few articles which ask to Disable mailbox and run Clean-MailboxDatabase -Identity, not sure will disable-mailbox delete AD account or not.

Solution:

Disable-Mailbox will only remove the mailbox from Exchange without deleting the AD account i.e only remove Exchange attributes.

And Remove-Mailbox will delete both mailbox as well as AD account.

Please refer below articles to know more about both the commands.

Disable a Mailbox — http://technet.microsoft.com/en-us/library/bb123730(v=exchg.141).aspx

Remove a Mailbox — http://technet.microsoft.com/en-us/library/bb125192(v=exchg.141).aspx

Comments are closed.