Answered by:
Exchange 2010 Database Issue

Question
-
I have installed AD in Forest Structure with Exchange on all the Forest.
Each child domain contain some 20 database for Exchange,Can we write some script to find the database with fewer load based on the child domain.
Any suggestion is appreciated.
Tuesday, May 22, 2012 6:42 PM
Answers
-
Post in the development forum.
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
- Proposed as answer by cara chenModerator Tuesday, May 29, 2012 6:22 AM
- Marked as answer by cara chenModerator Wednesday, May 30, 2012 6:52 AM
Thursday, May 24, 2012 3:31 PM
All replies
-
Exchange 2010 Database HTML Email Report
http://gallery.technet.microsoft.com/scriptcenter/d9af4a66-a908-4a3f-af10-380aa63c3a74James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Tuesday, May 22, 2012 7:01 PM -
I dont need report. i need to just find the child domain database which has least load. i need to trigger this script with the help of java code which will return me the database of least load.
Tuesday, May 22, 2012 7:07 PM -
By the least load do you mean smallest or fewest users or something else?
Steve
Tuesday, May 22, 2012 7:15 PM -
fewer load means databse with the least size.Wednesday, May 23, 2012 5:28 AM
-
Hello,
You can refer to the following article.
How to Check Exchange Database Size with PowerShell
Best Regards,
Lisa
Wednesday, May 23, 2012 5:53 AMModerator -
thanks lisa for your input.
$smallestdb = Get-MailboxDatabase -Status | sort DatabaseSize | select -first 1
I need to call this power shell script from vbscript passing some argument and than want back the return value of smallest database.
Thursday, May 24, 2012 2:37 PM -
Post in the development forum.
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
- Proposed as answer by cara chenModerator Tuesday, May 29, 2012 6:22 AM
- Marked as answer by cara chenModerator Wednesday, May 30, 2012 6:52 AM
Thursday, May 24, 2012 3:31 PM -
Friday, May 25, 2012 4:05 AM