Can someone assist me with creating the proper Exchange 2007 filter for the
public folders address list? I followed the instructions from this site:
http://www.yqcomputer.com/
But that site says to perform on the address list "All PublicFolders". At
our site they are simply called "Public Folders"
I get this error and the character count shows the error where the filter
starts:
[PS] C:\Program Files\Microsoft\Exchange Server\Scripts>Set-AddressList
"Public
Folders" -RecipientFilter { RecipientType -eq 'PublicFolder' }
Set-AddressList : Cannot bind parameter 'RecipientFilter' to the target.
Except
ion setting "RecipientFilter": """ is not a valid operator. For a list of
suppo
rted operators see the command help.
"RecipientType -eq 'PublicFolder' " at position 15."
At line:1 char:50
+ Set-AddressList "Public Folders" -RecipientFilter <<<< {
RecipientType -eq '
PublicFolder' }
And here is the display of the get to prove the address list is called
Public Folders.
[PS] C:\Program Files\Microsoft\Exchange Server\Scripts>get-addresslist
"public
folders" | format-list
Container : \
DisplayName : Public Folders
Name : Public Folders
RecipientFilter :
LdapRecipientFilter : (& (mailnickname=*) (|
(objectCategory=publicFol
der) ))
LastUpdatedRecipientFilter :
RecipientFilterApplied : False
IncludedRecipients :
ConditionalDepartment :
ConditionalCompany :
ConditionalStateOrProvince :
ConditionalCustomAttribute1 :
ConditionalCustomAttribute2 :
ConditionalCustomAttribute3 :
ConditionalCustomAttribute4 :
ConditionalCustomAttribute5 :
ConditionalCustomAttribute6 :
ConditionalCustomAttribute7 :
ConditionalCustomAttribute8 :
ConditionalCustomAttribute9 :
ConditionalCustomAttribute10 :
ConditionalCustomAttribute11 :
ConditionalCustomAttribute12 :
ConditionalCustomAttribute13 :
ConditionalCustomAttribute14 :
ConditionalCustomAttribute15 :
RecipientFilterType : Legacy
IsValid : True
OriginatingServer : email.domain.COM
ExchangeVersion : 0.0 (6.5.6500.0)
DistinguishedName : CN=Public Folders,CN=All Address
Lists,CN=Addres
s Lists Container,CN=company,CN=M
icrosoft
Exchange,CN=Services,CN=Configuration,D
C=company,DC=com
Identity : \Public Folders
Guid : 5a5ebf70-7d68-4c4c-8dea-9e2a24f1099a
ObjectCategory : company.com/Configuration/Schema/Address-Bo
ok-Container
ObjectClass : {top, addressBookContainer}
WhenChanged : 9/19/2007 2:28:38 PM
WhenCreated : 8/14/2001 8:30:04 AM