Thank you for the quick response.  :)  I downloaded the infostore.oft and
looked at the code.  Will play with it tomorrow at work.  However, I do
see one potential problem, I want the script to run through the Exchange
Event service (one script for each server running against all of the
mailboxes on that server)...I'll have to see if I can get the code from
the oft to work that way.  Haven't been doing this for very long...but
having fun with it.  :)

p.s.  Sorry for posting the message twice...this is the first time I have
used one of these discussion lists.

> Guess I'll have to look it up  :)
> Get the InfoStore.oft from wickett.net.  All the code you could ever
> want for this.
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]=20
> > Posted At: Monday, September 09, 2002 4:12 PM
> > Posted To: Exchange (Swynk)
> > Conversation: Help with determining mailbox size using CDO....please
> > Subject: Help with determining mailbox size using CDO....please
> >=20
> >=20
> > I am trying to determine the size of mailboxes in Exch. 5.5,=20
> > SP4 using a CDO script with the following lines:
> >=20
> > Mailbox_size =3D &HE08001E 'Code for mailbox size in bytes UserSize =
> =3D
> > Round((objUserSession.Infostores.Item(intCounter).Fields(Mailb
> > ox_Size)) / 1024 / 1024)
> >=20
> > This returns the mailbox size in MB, as long as the mailbox=20
> > is less than 1 GB.  If the mailbox is over 1 GB, then the=20
> > value of UserSize is a negative number.  (i.e. a 1.5 GB=20
> > mailbox would return -2560 MB).  Interestingly enough, this=20
> > negative number subtracted from 4096 gives the correct size=20
> > for the mailbox.  4096 also happens to be the largest size=20
> > that ExchAdmin will report...anything over that returns 0 in=20
> > mailbox resources.
> >=20
> > Are there any suggestions on how to get CDO to properly=20
> > report mailbox size on mailboxes over 1 GB (we even have one=20
> > user with 1 mailbox over 7 GB!)?
> >=20
> > Thank you in advance,
> >=20
> > --Todd
> >=20
> >=20
> > _________________________________________________________________
> > List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
> > Archives:               http://www.swynk.com/sitesearch/search.asp
> > To unsubscribe:         mailto:[EMAIL PROTECTED]
> > Exchange List admin:    [EMAIL PROTECTED]
> >=20

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to