Uninstall 2010:
After migration, none of the migrated user mailbox would occupy
space in active databases, we can delete the databases. Just migrate Discovery,
System Mailboxes (3 in 2010 and 5 in 2013 & 2016).
Move-ActiveMailboxDatabase DB3 -ActivateOnServer MBX4
Move-ActiveMailboxDatabase -Server MBX1
Get-User
| Disable-Mailbox
Get-Mailbox
-Arbitration | Disable-Mailbox -Arbitration
-DisableLastArbitrationMailboxAllowed
Disable-Mailbox “SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}” -Arbitration -DisableLastArbitrationMailboxAllowed (to disable particular System mailbox if missing or corrupted)
Get-Mailbox
-Monitoring | ?{$_.DisplayName -like "*-exch2-*"} | ft
name,displayname,servername,database
Get-Mailbox
-Monitoring | ?{$_.DisplayName -like "*-exch2-*"} | Disable-Mailbox
Get-Mailbox
-Monitoring | Disable-Mailbox
Get-Mailbox
| Get-MailboxStatistics | Where {$_.DisconnectReason -eq “Disabled” } |
|foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid
-MailboxState Disabled}
Get-Mailbox
| Get-MailboxStatistics | where {$_.DisconnectReason -eq “SoftDeleted”}
|foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid
-MailboxState SoftDeleted}
Get-mailboxdatabase
-server De-exch | Remove-MailboxDatabase
Get-PublicFolder -Server "Exolab" "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server "OPI-MailDB13" -Recurse -ErrorAction:SilentlyContinue
Get-MailboxDatabase
| Remove-MailboxDatabase
Get-PartnerApplication|
Remove-PartnerApplication
Get-Mailbox
Get-Mailbox
-Arbitration
Get-Mailbox
-Monitoring
Setup
/Mode:Uninstall /iacceptexchangeserverlicenseterms
this computer is responsible for expanding the membership of XX
distribution group. these must be reassigned to another server before setup can
continue
Blueprint
0 comments:
Post a Comment