Get-PublicFolder "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue
Get-PublicFolder "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue
Get-OfflineAddressBook | Remove-OfflineAddressBook
Get-SendConnector | Remove-SendConnector
Get-PublicFolderDatabase | Remove-PublicFolderDatabase
Get-Mailbox -Arbitration | Disable-Mailbox -Arbitration -DisableLastArbitrationMailboxAllowed
Get-Mailbox | Disable-Mailbox
cd "C:\Program Files\Microsoft\Exchange Server\V14\Bin"
setup.com /mode:uninstall