Good morning, I was looking for a bit of help with determining Exchange mailboxes using CDO. The lines of code in question are as follows:
Mailbox_Size = &HE08001E UserSize = Round((objUserSess.Infostores.Item(intCounter).Fields(Mailbox_Size)) / 1024 / 1024) This works fine for all mailboxes under 1 GB (1024 KB)...returning the size in MB. However when a users mailbox exceeds 1 GB, a negative size is returned. Interestingly enough subtracting this negative size from 4 GB (4096 MB), results in the correct mailbox size. Rather than code this conversion into the script...is there a better way to do things? Thank you, Todd J. Etter _________________________________________________________________ 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]

