Only E-Mail addresses and mailbox sizes are re-applied to the freshly attached mailbox.The filter on this script doesn’t consider legitimate linked mailboxes.Set-mailbox -identity $mailbox.displayname -EmailAddressPolicyEnabled $mailbox.EmailAddressPolicyEnabled -emailaddresses $mailbox.emailaddresses -UseDatabaseQuotaDefaults $mailbox.UseDatabaseQuotaDefaults -ProhibitSendQuota $mailbox.ProhibitSendQuota -ProhibitSendReceiveQuota $mailbox.ProhibitSendReceiveQuota -IssueWarningQuota $mailbox.IssueWarningQuota Set-mailbox -identity $mailbox.displayname -emailaddresses $mailbox.emailaddresses $usernamestring = $userdomain + $mailbox.samaccountnameĬonnect-Mailbox -Identity $mailbox.exchangeguid -Database $mailbox.database -User $usernamestring Get-MailboxDatabase -server $exchangeserver|Clean-MailboxDatabase $linkedmailboxes = get-mailbox -server $exchangeserver -resultsize unlimited|where ĭisable-Mailbox -Identity $mailbox.displayname -confirm:$ false You will have to modify the $exchangeserver and $userdomain variables though. The script is very effective, but you will want to check out the list of considerations below before running it, they might lead you to amend the script slightly. I came up with the script below that would properly convert all Linked Mailboxes on a particular server to user mailboxes in a supported way. Only e-mail addresses and mailbox sizes were important to me (I must admit, I forgot about mailbox sizes at first).
Using the official method from Microsoft results in the loss of any specific mailbox information such as SMTP, x400 & x500 addresses, mailbox sizes and any other individual mailbox settings.
(EXCHG.80).aspxĪnother way to make this appear to be corrected is to manually change the “Recipient Type” AD property on the affected mailboxes.
Linked mailbox exchange 2010 how to#
The official TechNet article on this explains how to disconnect the mailbox and re-attach it to the user account correctly as a user mailbox. As a result of these migrations a lot of mailbox migrations have resulted in a lot of mailboxes ending up as linked mailboxes even though their not. My organisation has gone through a massive migration project to unify Active Directories and Exchange organisations.