Remove OAB

Remove public folder
#Remove default Public folders
Get-PublicFolder "\" -Recurse -ResultSize:Unlimited |
Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue
#Remove system Public folders
Get-PublicFolder "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited |
Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue

If you are try to remove PF DB and receive this error:
The public folder database specified contains folder replicas. Before deleting the public folder database, remove the folders or move the replicas to another public folder database.
Solution: Run the following commands to deleted the PF Folders and then try to remove the public folder database again:
Public Folders:
Get-PublicFolder -Server Ex2010Srv1 “\” -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server Ex2010Srv1 -Recurse -ErrorAction:SilentlyContinue
System Public Folders:
Get-PublicFolder -Server Ex2010Srv1 “\Non_Ipm_Subtree” -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server Ex2010Srv1 -Recurse -ErrorAction:SilentlyContinue
(https://emg.johnshopkins.edu/?p=786)
Remove Public folder DB


Remove mailbox DB

If you receive the follow error:

Remove all mailboxes
Get-Mailbox -Arbitration | Disable-Mailbox -Arbitration -DisableLastArbitrationMailboxAllowedGet-Mailbox | Disable-Mailbox
Uninstall Exchange



Follow error is due to Antivirus




Questa risposta ti è stata utile?
Fantastico!
Grazie per il tuo feedback
Siamo spiacenti di non poterti essere di aiuto
Grazie per il tuo feedback
Feedback inviato
Apprezziamo il tuo sforzo e cercheremo di correggere l’articolo