Answered by:
Recreate Public Folder Address List

Question
-
I deleted the Public Folder Address List and would like to recreate it. The new-addresslist command and the EMC don't have options for Public Folders. I'm thinking of creating a basic one and using ADSI to change the query.
Anyone ever recreate the Public Folder Address list?
(This is in a lab so don't freak out.) hehehhehe
David JenkinsTuesday, August 30, 2011 6:13 PM
Answers
-
New-AddressList "Public Folders" -RecipientFilter "RecipientType -eq 'PublicFolder'"
lasse at humandata dot se, http://anewmessagehasarrived.blogspot.com- Marked as answer by David L. Jenkins Tuesday, August 30, 2011 8:04 PM
Tuesday, August 30, 2011 8:03 PM -
using the poweshell command worked
new-addresslist -Name "Public Folders" -recipientfilter {(RecipientType -eq 'PublicFolder')}
David Jenkins- Marked as answer by David L. Jenkins Tuesday, August 30, 2011 8:03 PM
Tuesday, August 30, 2011 8:03 PM
All replies
-
What do you mean with a public folder address list? is it a folder with contact objects?
Simply use Oultook and create a new folder. You can then specify what type of content it should contain.
lasse at humandata dot se, http://anewmessagehasarrived.blogspot.comTuesday, August 30, 2011 6:31 PM -
No, I'm talking about the Exchange Address Lists. By Default there are a few, All Users, All Groups, All Contacts and Public Folders. I'm working on Address List separation and one of the instructions is to delete the Public Folders address list.
I now want to recreate the list and nest it under one of the companies.
David JenkinsTuesday, August 30, 2011 7:16 PM -
Using ADSI Edit worked.
I created a new Address list then added the query. RecipientType -eq 'PublicFolder'
David Jenkins- Marked as answer by David L. Jenkins Tuesday, August 30, 2011 7:18 PM
- Unmarked as answer by David L. Jenkins Tuesday, August 30, 2011 7:47 PM
Tuesday, August 30, 2011 7:18 PM -
I take it back. Looks like it just picked up the Mail Enabled Groups. :(
David JenkinsTuesday, August 30, 2011 7:47 PM -
New-AddressList "Public Folders" -RecipientFilter "RecipientType -eq 'PublicFolder'"
lasse at humandata dot se, http://anewmessagehasarrived.blogspot.com- Marked as answer by David L. Jenkins Tuesday, August 30, 2011 8:04 PM
Tuesday, August 30, 2011 8:03 PM -
using the poweshell command worked
new-addresslist -Name "Public Folders" -recipientfilter {(RecipientType -eq 'PublicFolder')}
David Jenkins- Marked as answer by David L. Jenkins Tuesday, August 30, 2011 8:03 PM
Tuesday, August 30, 2011 8:03 PM -
Funny I updated at exactly the same time as Lasse. :)
David JenkinsTuesday, August 30, 2011 8:04 PM -
I keep getting the -Container arg wrong.
new-addresslist -Name "Public Folders" -recipientfilter {(RecipientType -eq 'PublicFolder')} -container "\company1"
David JenkinsTuesday, August 30, 2011 8:06 PM -
container is the location for the addresslist in the addresslist hierarchy.
do you have another addresslist at the top named 'company1'? then new "addresslist list will be placed "below" it.
lasse at humandata dot se, http://anewmessagehasarrived.blogspot.comTuesday, August 30, 2011 8:08 PM -
I ended up creating a variable and using it.
$addrlist = get-addresslist 'Company1'
new-addresslist -Name "Public Folders" -recipientfilter {(RecipientType -eq 'PublicFolder')} -container $addrlist
David JenkinsTuesday, August 30, 2011 8:09 PM -
Thanks everyone for your feedback.
David JenkinsTuesday, August 30, 2011 8:10 PM