Na wat getest te hebben in Exchange 2013 (SP1) wil ik alles even opschonen om verder te testen.
Maar nu loop ik tegen het punt aan dat ik de database niet kan verwijderen.
Bij blijft het volgende aangeven:
This mailbox database contains one or more mailboxes… etc...
Er is hier een hoop over te vinden maar toch lukt het me niet.
Ik heb alles opgeschoond en er zijn geen resultaten meer.
[PS] C:\Windows\system32>Get-Mailbox -Database "Mailbox Database 0063353090" -Archive
[PS] C:\Windows\system32>Get-Mailbox | Where ArchiveDatabase -eq "Mailbox Database 0063353090"
[PS] C:\Windows\system32>Get-Mailbox -Database "Mailbox Database 0063353090" -Arbitration
[PS] C:\Windows\system32>Get-Mailbox -Database "Mailbox Database 0063353090" -PublicFolder
Als ik in de Admin center inlog dan staat er nog 1 mailbox van de gebruiker Administrator.
Ik dacht deze hierin handmatig te verwijderen maar dit wordt geweigerd vanwege de build-in user in AD.
De volledige foutmelding:
This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, public folder mailboxes or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all public folder mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -PublicFolder. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. To disable a public folder mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -PublicFolder. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>. It was running the command 'Remove-MailboxDatabase 'CN=Mailbox Database 0063353090,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=test,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=test,DC=nl' -whatif'.
For more information, visit: http://technet.microsoft....emoveMailboxDatabase.aspx
Maar nu loop ik tegen het punt aan dat ik de database niet kan verwijderen.
Bij blijft het volgende aangeven:
This mailbox database contains one or more mailboxes… etc...
Er is hier een hoop over te vinden maar toch lukt het me niet.
Ik heb alles opgeschoond en er zijn geen resultaten meer.
[PS] C:\Windows\system32>Get-Mailbox -Database "Mailbox Database 0063353090" -Archive
[PS] C:\Windows\system32>Get-Mailbox | Where ArchiveDatabase -eq "Mailbox Database 0063353090"
[PS] C:\Windows\system32>Get-Mailbox -Database "Mailbox Database 0063353090" -Arbitration
[PS] C:\Windows\system32>Get-Mailbox -Database "Mailbox Database 0063353090" -PublicFolder
Als ik in de Admin center inlog dan staat er nog 1 mailbox van de gebruiker Administrator.
Ik dacht deze hierin handmatig te verwijderen maar dit wordt geweigerd vanwege de build-in user in AD.
De volledige foutmelding:
This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, public folder mailboxes or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all public folder mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -PublicFolder. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. To disable a public folder mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -PublicFolder. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>. It was running the command 'Remove-MailboxDatabase 'CN=Mailbox Database 0063353090,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=test,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=test,DC=nl' -whatif'.
For more information, visit: http://technet.microsoft....emoveMailboxDatabase.aspx