VBScript - Export a list of Mail Enabled Public Folders visible in the GAL
View Script (right click to download)
This script uses an LDAP query to find Exchange Public Folders that are visible in the GAL. The msExchHideFromAddressLists=FALSE part of the search string returns only public folders that are listed in the GAL.
The query results are written to a tab-delimited text file. The text file can be opened in Excel and lists the public folders, including their Display Name, Path in the public folder hierarchy, and each associated Email Address.
Depending on how many Public Folders you have in your Exchange organization, and how large your AD database is it can take a while to run the query. When the script has finished it will display a message box. When I wrote the script for our needs, it took around 10 minutes to complete and retuned 470 Public Folders. You can run the LDAP query from within Active Directory Users and Computers, it will list the public folders, but it doesn’t allow you to export them. To run the query in Active Directory Users and Computers:
View Script (right click to download)
Admin in need said,
July 30, 2007 @ 8:55 pm
THANKS!!!!!!