Allen,
That is sort of what I need but not exactly. I know how to get the mailbox size and the number of items in the mailbox. The first one is one of the options I tried but unfortunately it did not fit our needs. Maybe it can be modified to make it fit our needs but I do not know how.
Maybe I should be a bit more clear about what is needed.
We have a whole bunch of mailboxes that may have a specific folder as a sub folder of the inbox folder. The name of this folder is the same for everyone (Suspected spam) but if a user never received any spam the folder may not exist because it is created by the spam filter when the first message marked as spam for the specific user arrives. Everyone knows they should go through this folder every now and then and clean it up by deleting the junk and if there are any false positives report them to IT and move the message to the desired folder. Several users refuse or do not understand the concept of cleaning up and use this folder for storage. I would like to be able to get a list of mailboxes and the size of the Spam quarantine folder they have in their Inbox.
_________________________
Mart
- Chuck Norris once sold ebay to ebay on ebay.