Update public folders address list after adding exchange 2007 to exchange 2003 org

Update public folders address list after adding exchange 2007 to exchange 2003 org

Post by Kevin Nick » Sat, 22 Sep 2007 00:48:18


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
 
 
 

Update public folders address list after adding exchange 2007 to exchange 2003 org

Post by Ed Crowley » Sat, 22 Sep 2007 02:29:25

t was hard for me to see that in the font IE is using to display your
message, so I copied your command to Notepad and you're using curly
brackets! Try parentheses instead of curly brackets.
--
Ed Crowley
MVP - Exchange
"Protecting the world from PSTs and brick backups!"

"Kevin Nickell" < XXXX@XXXXX.COM > wrote in message
news:eBBHo25% XXXX@XXXXX.COM ...



 
 
 

Update public folders address list after adding exchange 2007 to exchange 2003 org

Post by Ed Crowley » Sat, 22 Sep 2007 02:41:02

isregard my previous post. Curly brackets are correct. Sorry.

Have you tried adding -ForceUpgrade:$True ? I think you need to do that
becuase you're changing a legacy address list.
--
Ed Crowley
MVP - Exchange
"Protecting the world from PSTs and brick backups!"

"Kevin Nickell" < XXXX@XXXXX.COM > wrote in message
news:eBBHo25% XXXX@XXXXX.COM ...


 
 
 

Update public folders address list after adding exchange 2007 to exchange 2003 org

Post by Kevin Nick » Sat, 22 Sep 2007 03:06:37

till an error.. Other ideas?

[PS] X:\>Set-AddressList "Public Folders" -RecipientFilter {
RecipientType -eq '
PublicFolder' } -ForceUpdate:$True

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' } -ForceUpdate:$True
[PS] X:\>


"Ed Crowley [MVP]" < XXXX@XXXXX.COM > wrote in message
news:%23pFjt16% XXXX@XXXXX.COM ...


 
 
 

Update public folders address list after adding exchange 2007 to exchange 2003 org

Post by Ed Crowley » Sat, 22 Sep 2007 03:24:13

ou misspelled "ForceUpgrade".
--
Ed Crowley
MVP - Exchange
"Protecting the world from PSTs and brick backups!"

"Kevin Nickell" < XXXX@XXXXX.COM > wrote in message
news:%23jiVyD7% XXXX@XXXXX.COM ...


 
 
 

Update public folders address list after adding exchange 2007 to exchange 2003 org

Post by Kevin Nick » Sat, 22 Sep 2007 04:07:07

ou are correct.... oops.

Now it worked and properly shows the filter when I type
get-addresslist "public folders" | fl


"Ed Crowley [MVP]" < XXXX@XXXXX.COM > wrote in message
news:OIFw0N7% XXXX@XXXXX.COM ...


 
 
 

Update public folders address list after adding exchange 2007 to exchange 2003 org

Post by Ed Crowley » Sat, 22 Sep 2007 08:37:13

appy to have helped. I'm not yet a PowerShell wizard--I had to do research
to answer that. I think I'm going to be doing a lot of that for a while
yet.
--
Ed Crowley
MVP - Exchange
"Protecting the world from PSTs and brick backups!"

"Kevin Nickell" < XXXX@XXXXX.COM > wrote in message
news:edKkil7% XXXX@XXXXX.COM ...


 
 
 

Update public folders address list after adding exchange 2007 to exchange 2003 org

Post by troy.sche » Sun, 11 Nov 2007 01:30:09

YI, i struggled with this for about 20 minutes before i found a post
on experts-exchange that said you can't always cut and paste into
powershell.

I typed the command in manually, without the ForceUpgrade and then it
worked.


On Sep 20, 5:37 pm, "Ed Crowley [MVP]" < XXXX@XXXXX.COM >
wrote: