• Welcome to Valhalla Legends Archive.
 

Scripting & MS Exchange stuff

Started by KrAzY_NuK, April 18, 2005, 03:17 PM

Previous topic - Next topic

KrAzY_NuK

I need to do 2 tasks:
1. Find the size of a Public Folder (including all sub-folders).
2. Find the size of each individual users personal mailbox.

we are running Exchange 2000 on a Windows 2000 machine.  Has anyone ever come across any way to do this?  I've been looking all afternoon with not much help at all.

Thanks...

MyndFyre

I googled "Exchange scripting size folder" and came up with this:

http://www.outlookexchange.com/articles/glenscales/mreport1.asp

You can also look through the Exchange SDK:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/wss_references_contentclasses.asp (schema)
and write a Windows Script Host script to traverse through the folder object given by the public folder.  I found relavent information in the subtopic urn:content-classes:folder.

Alternatively you can use the Exchange COM class CDO.Folder or the COM interface IPublicStoreDB.

Not ever having used Exchange I hope this helps you out.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.