Home > Exchange 2007 / 2010 > Exchange 2007: Add Public folder client permissions recursivley

Exchange 2007: Add Public folder client permissions recursivley

By default are Public folder client permissions managed in the Exchange Management Shell via the Add-PublicFolderClientPermissions command. But this command only add permissions on the specified folder and not on the underneath folders or items. By default has any Exchange Server 2007 installation a subfolder called Scripts where we can find a script called AddUsersToPFRecursive.ps1. This script can add permissions recursively to all folders and items in a specified folder. So if you apply this script on the head public folder for a security group or user and make him owner of all folders and subfolders, then you are able to manage the Public folder permissions easily within the Outlook client.

Retrieve the current permissions of a specific folder:

Get-PublicFolderClientPermissions “PublicFolder” -User “Username”

Add permissions to a specific folder:

Add-PublicFolderClientPermissions “PublicFolder” -User “Username” -AccessRights <Right>

The Exchange 2007 default Scripts are located in C:\Program Files\Microsoft\Exchange Server\Scripts:

Use the AddUsersToPFRecursive.ps1 to apply the permissions to all public folders beneath a specified head public folder:

AddUsersToPFRecursive.ps1 -TopPublicFolder “foldername” -User “username” -Permission <Right>

**note** When there are spaces in the folder name you must place it between double and single quotes “‘folder name‘”

Possible access rights:

  • Owner CreateItems, ReadItems, CreateSubfolders, FolderOwner, FolderContact, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • PublishingEditor CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • Editor CreateItems, ReadItems, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • PublishingAuthor CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, DeleteOwnedItems
  • Author CreateItems, ReadItems, FolderVisible, EditOwnedItems, DeleteOwnedItems
  • NonEditingAuthor CreateItems, ReadItems, FolderVisible
  • Reviewer ReadItems, FolderVisible
  • Contributor CreateItems, FolderVisible

See also video on MSExchange.org: Manage Client Permissions on Public Folders using built-in PowerShell scripts

Advertisements
Categories: Exchange 2007 / 2010
  1. May 19, 2013 at 4:29 am

    I grew to become honored to acquire a contact from the buddy when he
    located out the crucial suggestions shared on your site.
    Looking at your blog publication is actually a actual amazing
    experience. Many thanks once again for considering of viewers like
    me, and I’d like for you personally the top of accomplishment as becoming a professional topic.

  2. July 14, 2013 at 6:58 pm

    Good day I am so happy I found your blog page, I really found you by error, while I was looking on Google for
    something else, Anyways I am here now and would just like to say
    kudos for a incredible post and a all round enjoyable blog (I also love
    the theme/design), I don’t have time to go through it all at the moment but I have saved it and also added in your RSS feeds, so when I have time I will be back to read a great deal more, Please do keep up the superb work.

  3. August 19, 2013 at 5:25 pm

    FYI the command for listing the permissions is actually “Get-PublicFolderClientPermission”,not “Get-PublicFolderClientPermissions” (note the “s” at the end of the command listed here. Thanks for your help!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: