Hi All,
System :
Server 2008 as DC
Exchange Server 2010 as mail server
I have a little mistake, i deleted user in AD before deleting mailbox. Now this mailbox is not in mailboxes list and not in Disconnected mailboxes, but i can see this mailbox from PowerShell. If i try to delete this mailbox i have this message :
[PS] C:\Windows\system32>Remove-Mailbox -Identity domain\user
The operation couldn't be performed because object 'domain\user' couldn't be found on 'dc.domain.yes'.
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-Mailbox], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : 2F1637E6,Microsoft.Exchange.Management.RecipientTasks.RemoveMailbox
Because this user is deleted from AD.
Please help me to delete this mailbox from Exchange 2010 without restore object(user) to AD.
Thanks!
Disable-Mailbox -Identity mailboxname -Confirm:$false