get mailbox user whom HomeMdb value is null
i was trying to run script below to get activesync device status but has giving warnings for certain mailboxes regarding corruption & command never finishes with output.
(Get-CASMailbox ResultSize Unlimited -Filter {HasActiveSyncDevicePartnership -eq $True} | Get-Mailbox) | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox $_} | Group Devicemodel | sort count -Descending | select count, name
The
object Example.com/Users/xyz mailbox has been corrupted, and it's in an inconsistent state. The following validation errors happened:[WARNING]
Database is mandatory on UserMailbox.
I also try to get the mailbox details for xyz mailbox but didn't populate.(seems Homemdb value set to null)......i would like to get a list of all such mailboxes which could have been in corrupted state.
June 29th, 2012 8:53am
Please post in teh Exchnage forum for your version of Exchange. This is not a scripting issue. It is an exchange administration issue.
Yu apparently have damaged teh AD settings. This maybe a symptom of much larger problems. I highly recommend calling Microsoft Support or calling in a consultant to help you fix this.\_()_/
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2012 9:04am
I suggest you run New-MailboxRepairRequest on the Exchange store in question. See the following for more information:
http://technet.microsoft.com/en-us/library/ff625226.aspxGrant Ward, a.k.a. Bigteddy
June 29th, 2012 9:06am
yeah i understand....i will contact support to find root cause.
in the mean time i want to produce a list of all corrupted mailboxes.........so can u help me with any command which will filter corrupted mailboxes based on some property.
thanks
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2012 12:57am
I suggest you run New-MailboxRepairRequest on the Exchange store in question. See the following for more information:
http://technet.microsoft.com/en-us/library/ff625226.aspx
Grant Ward, a.k.a. Bigteddy
This was my suggestion.Grant Ward, a.k.a. Bigteddy
July 2nd, 2012 1:06am
yes i understand the solution for corrupted mailboxes....but before running this script i need to generate a list of mailboxes who are corrupted.
is there any way to find out this.
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2012 1:24am
You can run New-MailboxRepairRequest on a specific mailbox, or on the whole database. If run on the database (datastore), it will report on corrupted mailboxes, I think.
Note: This will only work on Exchange 2010.
Grant Ward, a.k.a. Bigteddy
July 2nd, 2012 1:28am
Hi Exchange support,
Any update for your issue? Due to the corrupted mailbox may not show definite character, So, you could follow above suggestion.
Regards!Gavin
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2012 3:12am
ok thanks...i will try give a try
July 3rd, 2012 5:25am