Re: Alternative to reading public folders with WMI?
From: Glen Scales [MVP] (gscales_at_outlookexchange.com)
Date: 09/20/04
- Next message: triston: "Can I run Domainprep After Install Exchange2k3"
- Previous message: Frank Hellmann: "Re: Protocol Event sink"
- In reply to: Andrew Gomes: "Alternative to reading public folders with WMI?"
- Next in thread: Andrew Gomes: "Re: Alternative to reading public folders with WMI?"
- Reply: Andrew Gomes: "Re: Alternative to reading public folders with WMI?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Sep 2004 16:20:39 +1000
If you want to speed up your WMI queries you should look at making the query
Semi-Synchronous have a look at
http://www.huntland.co.uk/Downloads/WMI/AsyncOperations.html which details
what to do and why the current queries run so slow.
There are other options to WMI depending on what you are trying to do, if
your just want to list the names of the folder you can adapt the scripts
used in the following KB
http://support.microsoft.com/default.aspx?scid=kb;en-us;320071 .This gives
you methods to a recursively do a shallow traversal of a folder hierarchy
(fancy name for a mailbox) you just need to adapt it to instead point to the
public folder tree and instead of working out the foldersize get it to
output the folder name.
Cheers
Glen
"Andrew Gomes" <andrewgomes@hotmail.com> wrote in message
news:2qsavhF13lnvmU1@uni-berlin.de...
> Does anyone know if there is an alternative to reading Exchange 2003
public
> folders with WMI?
>
> I am using WMI in VB.NET to read a list of public folders on an Exchange
> 2003 server. My problem is that it is INCREDIBLY slow!!! It seems to
reads
> in chunks from the server with a long delay between "chunks." The other
> problem is that the server has over 60,000 public folders! (So you can
> imagine how long this takes!)
>
> Is there an alternative to WMI or does anyone know how to speed up the WMI
> query?
>
> Many thanks!
>
>
- Next message: triston: "Can I run Domainprep After Install Exchange2k3"
- Previous message: Frank Hellmann: "Re: Protocol Event sink"
- In reply to: Andrew Gomes: "Alternative to reading public folders with WMI?"
- Next in thread: Andrew Gomes: "Re: Alternative to reading public folders with WMI?"
- Reply: Andrew Gomes: "Re: Alternative to reading public folders with WMI?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|