Situatie
Cand muti un mailbox intr-o noua baza de date sau stergi un mailbox acest se marcheazac a soft deleted. El va ramane in baza de date pana la urmatoarea mentenanta programata.
Solutie
Pasi de urmat
Te conectezi pe Exchange Management Console.
Rulezi urmatoareaza comanda pentru a vedea mailbox-urile marcate ca soft deleted:
$Mailboxes = Get-MailboxDatabase | Get-MailboxStatistics | where {$_.DisconnectReason -eq “SoftDeleted”}
Pentru a le sterge , rulezi :
$Mailboxes | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState SoftDeleted}
Daca ai mai multe mailbox-uri si nu vrei sa confirmi stergerea pentru fiecare in parte, rulezi :
$Mailboxes | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState SoftDeleted -confirm:$false}
Verifici white space-ul :
Get-MailboxDatabase -Status | ft name,databasesize,availablenewmailboxspace –auto
Leave A Comment?