Exchange 2013 Public Folders Commands

Prepare your environment for public folders

Create database for public folder mailbox

New-MailboxDatabase USPFDB1 -Server MBX1 -Edbfilepath D:USPFDB1USPFDB1.edb -LogFilePath D:USPFDB1

Mount-Database USPFDB1

Add-MailboxDatabaseCopy USPFDB1 -Server MBX2

Create Public Folder Mailbox

New-Mailbox -Name USPF1 -Database USPFDB1 -PublicFolder -OrganizationUnit “OU=Public Folder Databases OU ,DC=company,DC=com”

(use -HoldForMigration switch when creating public folder mailboxes in a mixed environment)

New-PublicFolder -Name “Top Level Folder” -Path -Mailbox USPF1

New-PublicFolder -Name “Second Level Folder” -Path “Top Level Folder”

Public Folder Security Permissions

Permissions

Effect

Read Items

Read Items in Public Folder

Create Items

Create Items in Public Folder

Edit own Items

Edit items created or owned by user in Public Folder

Delete own Items

Delete Items owned or created by user in Public Folder

Edit All Items

Edit any item in public folder

Delete All items

Delete any item in public folder

Create subfolder

Create subfolder in public folder

Folder Owner

Move folder and create subfolders (does not give read, modify delete or create of the folder)

Folder contact

Configure user as contact of the public folder. Does not provide any rights.

Folder visible

Ability to view the folder.

Public Folder Security Roles

Role

Effect

None

Folder visible

Owner

CI, RI, EOI, DOI, EAI, DAI, CS, FO,FC,FV

Publishing Editor

CI, RI, CS,EOI, DOI, EAI, DAI, FV

Editor

CI,RI, EOI, DOI, EAI, DAI,FV

Publishing Author

CI, RI, EOI, DOI, FV, CS

Author

CI, RI, EOI, DOI, FV

NonEditing Author

CI, RI, FV

Reviewer

RI, FV

Contributor

CI, FV

Grant Public Folder Access

Get-PublicFolder “Top Level Folder” | Add-PublicFolderClientPermission -User “DomainGroup” -AccessRight PublishingEditor

Remove Public Folder Access

Get-PublicFolder “Top Level Folder” | Remove-PublicFolderClientPermission -User “DomainGroup”

Mail Enable a Public Folder

Enable-MailPublicFolder “Top Level Folder”

Mail Enable all public folders

Get-PublicFolder “” -Recurse | Enable-MailPublicFolder

Assign specific Email Address to public folder

Get-PublicFolder -identity “Top Level folder” -emailaddress SMTP:folder@domain.com -EmailAddressPolicyEnabled $False

Remove Email Address from Public Folder

Disable-MailPublicFolder “Top Level FolderSecond Level Folder”

Configure size limits for Public Folders

Set-Publicfolder “Top Level Folder” -IssueWarningQuota 15GB -ProhibitPostQuota 30GB -MaxItemSize Unlimited

Set Deleted Item Retention on Public Folders

Set-PublicFolder “Top Level Folder” -RetainDeletedItemsFor 30

Move Public Folder to different mailbox

New-PublicFolderMoveRequest -Folder “Top Level Folder” -TargetMailbox USPF2

Monitor Public Folder move request

Get-PublicFolderMoveRequest | Get-PublicFolderMoveRequestStatistics

Remove Public Folder Move Request

Get-PublicFolderMoveRequest | Remove-PublicFolderMoveRequest

Subscribe For Latest Updates

Sign up for best of digital marketing, livestream and technology opinions on what matters to you.

Invalid email address
We promise not to spam you. You can unsubscribe at any time.

6 thoughts on “Exchange 2013 Public Folders Commands”

  1. Thanks for helpful command list.
    Is there any way if I want to move items (only emails) from one specific public folder to one specific mailbox every night?
    Any help will be appreciated.

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: