fsaiexpert
asked on
Default Public folder ldap string
Hi there,
Just wondering, is there any way to find out the default ldap string for public folders, we would like to use it to fetch the details of all mail-enabled public folders? or any other mechanism to find out all mail-enabled public folders?
Your help will be appreciated.
Just wondering, is there any way to find out the default ldap string for public folders, we would like to use it to fetch the details of all mail-enabled public folders? or any other mechanism to find out all mail-enabled public folders?
Your help will be appreciated.
You can get some information from AD, the mail proxy is held there. But it will be pretty limited, you might have more luck with the WMI namespace for Exchange which has a Exchange_PublicFolder class with an IsMailEnabled property (set to true or false). Which version of Exchange is this?
If it's Exchange 2003, and you happen to have PowerShell installed you can run the following command:
Get-WMIObject -Computer "ExchangeServer" -NameSpace "root\MicrosoftExchangeV2"
-Class "Exchange_PublicFolder" -Filter "IsMailEnabled='True'" | `
Select-Object Name, Path, AddressBookName, MessageCount
It's a bit more tricky to link in the AD Proxy and get the e-mail addresses assigned, but not impossible. Whatever happens, I find it better to approach from the Exchange side and grab the AD part afterwards rather than the other way around.
Chris
ASKER
folks, - thanks for the prompt response.
To clarify I am not trying to programme anything - I just want to know what is the LDAP syxtax to identify the publix folders within Exchange 2003
I have used the following within the content management system:
CN=Microsoft Exchange System Objects,DC=domain,DC=ie
However it does not appear to be synchorising
Any further advice would be appreciated
To clarify I am not trying to programme anything - I just want to know what is the LDAP syxtax to identify the publix folders within Exchange 2003
I have used the following within the content management system:
CN=Microsoft Exchange System Objects,DC=domain,DC=ie
However it does not appear to be synchorising
Any further advice would be appreciated
The query Raj provided should be able to do that. MailNickName should be set and the category is correct.
If you have DSQuery you can test it by running:
DSQuery * -Filter "(&(mailnickname=*)(object
Chris
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(& (mailnickname=*) (objectCategory=publicFold
Cheers,
Raj