Solved

Exchange Command Shell Filters for Mailenable Public Folders

Posted on 2010-09-21
28
704 Views
Last Modified: 2012-06-27
Does anyone know the command line to make the mail enables folders in public folders show up in the public folders address list?
0
Comment
Question by:funkyone60
  • 14
  • 7
  • 5
  • +1
28 Comments
 
LVL 15

Expert Comment

by:vahiid
ID: 33731799
They should show up in your Public Folders address list after every update interval. If the update is not running or you want to run a manual update, run this command:

Update-AddressList "Public Folders"


You'll get some details about your "Public Folders" address list by running

Get-AddressList "Public Folders" | FL


Vahid
0
 

Author Comment

by:funkyone60
ID: 33732004
i don;'thave a public folders address list on the exchange server- I hace contacts/rooms/groups/GAL- no public folders-when I go to add address list- no public folders to choose from
0
 
LVL 15

Expert Comment

by:vahiid
ID: 33732043
Run the Get-AddressList cmdlet in exchange management shell to see if the Address List is missing in your Exchange.

If you are missing it, or it is created on an older version of Exchange, run:

Set-AddressList “Public Folders” –RecipientFilter {RecipientType –eq “PublicFolder”}

This will convert the address list  to Exchange Server 2010.

Vahid
0
 

Author Comment

by:funkyone60
ID: 33732170
heres what I shows- and then when I run your command line
public-folder.JPG
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33733228
you need to run the Enable-MailPublicFolder cmdlet

Enable-MailPublicFolder "\foldername"
0
 

Expert Comment

by:subratd
ID: 33734212
this is the command to set the Public Folder address list:

Set-AddressList "Public Folders" -RecipientFilter {RecipientType -eq "PublicFolder"}

Can you try this is some other server?
0
 

Author Comment

by:funkyone60
ID: 33735605
what do u mean?  like run that command from the dc?
0
 

Expert Comment

by:subratd
ID: 33746215
not from DC..
If you are running it from Mailbox server ,.. then try to to run it from HUB or CAS server.
:)
0
 

Author Comment

by:funkyone60
ID: 33746664
i dont have a HUB or CAS server-
0
 

Author Comment

by:funkyone60
ID: 33749912
ok- the public folders is showing up but if you hit the drop down in address book and select public folders it shows you the GAL on the public folders address list
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33750014
i am going to get my lab back online and get what you need
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33750088
are you still in mixed mode with exchange 2003?
0
 

Author Comment

by:funkyone60
ID: 33750385
no I am not
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33750417
did you run this command from the exchange management shell
it will prompt you to upgrade the address list

Set-AddressList "Public Folders" -RecipientFilter {RecipientType -eq "PublicFolder"}

0
Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

 
LVL 15

Expert Comment

by:vahiid
ID: 33750529
This is actually going to sound wierd, but you can't always copy and paste commands in powershell and except them to work. This cmdlet is one of them!

So if the copy and paste still gives you the same error, just type in the command word by word in your exchange powershell and it will work fine:

set-addresslist "Public Folders" -RecipientFilter {(RecipientType -eq 'PublicFolder')}


Vahid
0
 

Author Comment

by:funkyone60
ID: 33750577
ok- when I typed this command in it brought be to >>with flashing cursor- should I type something else or hit enter
0
 
LVL 15

Expert Comment

by:vahiid
ID: 33750626
That simply means the syntax is still incorrect, press Ctrl+C to get out of the >> mode and double check the command. If it helps, copy and paste into notepad and then type in power shell from notepad, paying attentions to ' and "
0
 

Author Comment

by:funkyone60
ID: 33754945
are those parentheses or arrows on the inside of -->{(RecipientType -eq 'PublicFolder')}
0
 

Author Comment

by:funkyone60
ID: 33755147
now it is actually bringing me back to the command prompt- should there be dialog after I run the command?
0
 
LVL 32

Accepted Solution

by:
endital1097 earned 500 total points
ID: 33755179
no, that should be all

you can test the result of this by running
Get-Recipient -Filter { RecipientType -eq 'PublicFolder' }
0
 

Author Comment

by:funkyone60
ID: 33755367
it shows the correct folders but when I go to public folders in my drop down menu in in outlook- still shows the GAL.  Its not the bigeest deal in the world but its one of those buggy little things that make me crazy.
0
 
LVL 15

Expert Comment

by:vahiid
ID: 33756126
Try it in OWA and see if you see the right Public Folder list. If OWA works fine, then it's your Outlook Profile. Try taking it off the cache mode, or rebuild outlook profile.
0
 

Author Comment

by:funkyone60
ID: 33756845
Great idea but yes its the same in owa.
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33756893
you don't see the public folders list at all
0
 

Author Comment

by:funkyone60
ID: 33757364
i see the list but the contents are the GAL
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33757440
sounds like your ldap filter for this list is off
run the following to check

get-addresslist public* | fl name,ldap*

it should look like
(& (mailnickname=*) (| (objectCategory=publicFolder) ))
0
 

Author Comment

by:funkyone60
ID: 33757552
this is what it came back as
ldap.JPG
0
 

Author Closing Comment

by:funkyone60
ID: 33757888
I think maybe it took a minute for the seetings to replicate- but it worked- Thanks for your help!!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now