|
|
|||||||
We have a maximum number of mail enabled accounts that can be in any one mailstore. Currently, we have about 120 mailstores and every time we create a new account we have to search to find a mailstore to put. I have looked on the web for any VB scripts and kixtart.org for any scripts that might even be close but haven't found anything I can use. Does anyone have a place for me to start? TIA, Dale |
||||||||
|
|
|||||||
There is no pre-made script for it that I'm aware of. What version of Exchange are you running? Is it in Native mode? Would need to look and see if their is a COM object that provides that information and then see if KiX or VB can access it to return the data. |
||||||||
|
|
|||||||
Sorry, been out for a few days. I'm running Exchange 2003 in native mode. There is an Attribute for the mail store in ADSI Edit (Homemdbbl). This attribute contains a list of the mail enabled objects within the mailstore, I'm not sure where to start to develop a script to enumerate all the mailstores and to count the number of objects within this attribute. Dale |
||||||||
|
|
|||||||
I don't suppose anyone might have a starting point for me. Thanks, Dale |
||||||||
|
|
|||||||
What attribute are you changing to enable / disable mail for the objects? |
||||||||
|
|
|||||||
Richard, All I want to do is get a count of the mail enabled objects in each mail store on each Exchange server. I don't want to change anything. Dale |
||||||||
|
|
|||||||
Originally Posted By: Daleco Richard, All I want to do is get a count of the mail enabled objects in each mail store on each Exchange server. I don't want to change anything. Dale Yes, I understand that. What I am getting at is that if you are changing an attribute on an AD object to enable/disable mail then it may be simpler to iterate AD and check the attribute rather than working from the mail store direction. |
||||||||
|
|
|||||||
Here is an example of what I mean. This script enumerates all AD objects, and displays the information for those objects which have a mail store defined. You can take this as a starting point and add code to summarise by whatever field you fancy. If you don't want to tackle the additional code just change the output so that it is suitable to import into Excel as a CSV file and sort / summarise in Excel.
|
||||||||
|
|
|||||||
Thanks Richard, I'll give this shot. |
||||||||
|
|
|||||||
Richard, I really appreciate your assistance on this. With some tweaking it is giving me what I need. For now I'm using the output to Excel and then summarize from there. Thanks again, |