disabled mailbox and cleaned database, the mailbox is not found now

I have disabled exchange 2010 user mailbox with powershell then run clean database also with powershell.
now I can not find his mailbox at all using:
Get-Mailbox "mailboxname"

any help?

thanks
jskfanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jrhelgesonCommented:
You deleted the mailbox, therefore it doesn't show up.

If you want to see deleted mailboxes:
Get-ExchangeServer | Where-Object {$_.IsMailboxServer –eq $true} | ForEach-Object { Get-MailboxStatistics –Server $_.Name | Where-Object {$_.DisconnectDate –notlike ‘’}} | select displayname, mailboxguid, database

Open in new window

If you want to force purge deleted mailboxes:
$mailboxes = Get-ExchangeServer | Where-Object {$_.IsMailboxServer –eq $true} | ForEach-Object { Get-MailboxStatistics –Server $_.Name | Where-Object {$_.DisconnectDate –notlike ‘’}} | select displayname, mailboxguid, database
$mailboxes | ForEach { Remove-Mailbox -Database $_.Database -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

Open in new window

0
jskfanAuthor Commented:
No I disabled the mailbox then cleaned the database.

I did some reading, it could be that the mailbox was empty, that s why it did not show up in disconnected mailbox
0
jrhelgesonCommented:
Run the commands I gave you, it will show the deleted mailbox.
In the world of exchange: Disabling mailbox = deleting the mailbox
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

jskfanAuthor Commented:
I did run that command, before I posted this question, but it did not find the disabled mailbox.

I did not check if that mailbox was empty...it has been created just recently...
I wonder if an empty mailbox gets disabled if it will show in the Disconnected Mailbox .
0
jrhelgesonCommented:
This command will show disconnected mailboxes just as it shows in the Exchange Management Console. If it isn't showing up, then it has been purged and is not recoverable.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jskfanAuthor Commented:
if the mailbox is empty, would it show up in disconnected mailboxes, after disabling it and running the clean database ?
0
jrhelgesonCommented:
No.
0
jskfanAuthor Commented:
so that might be the reason.
I guess that mailbox that disappeared was empty
0
jskfanAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.