Question : How can i delete disconnected mailbox paemanentely by exchange management console

Hi All,
       How can i delete my disconnected mailbox permanently from exchange server 2007 by using exchange management console and not by exchange management shell.

Answer : How can i delete disconnected mailbox paemanentely by exchange management console

$Temp = Get-MailboxStatistics | Where {$_.DisplayName -eq 'John Peoples'}
Remove-Mailbox -Database Server01\Database01 -StoreMailboxIdentity $Temp.MailboxGuid

1. Run the Get-MailboxStatistics first, so as to obtain the MailboxGuid:

$Temp = Get-MailboxStatistics | Where {$_.DisplayName -eq 'Test'}

2. Then run Remove Mailbox:

Remove-Mailbox -Server\Database01 -StoreMailboxIdentity $Temp.MailboxGuid

(In the Remove-Mailbox, insert the name of your Database where it shows: Database01...and enter the MailboxGuid that you retrieved from "GetMailboxStatistics" -- where it is asking for the Guid: $Temp.MailboxGuid.)

Random Solutions  
 
programming4us programming4us