Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic


Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

Use the New-PublicFolder cmdlet to create a public folder with the specified name.

New-PublicFolder -Name <String> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Path <PublicFolderIdParameter>] [-Server <ServerIdParameter>] [-WhatIf [<SwitchParameter>]]

Parameter Required Type Description




The Name parameter specifies the name for the public folder.




The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.




The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.




The Path parameter specifies the location of the folder in the folder hierarchy, for example, \Legal\Cases.




The Server parameter specifies the server on which to create the public folder.

If a server isn't specified, the command checks whether the local server is running Microsoft Exchange Server 2010 or Exchange Server 2007 with the Mailbox server role installed and with a public folder database. If it is, the public folder is created locally. If it isn't, Exchange finds the closest (by site cost) Exchange 2010 or Exchange 2007 Mailbox server with a public folder database on which to create the public folder.




The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Public folder" entry in the Mailbox Permissions topic.

Error Description


Exceptions Description


This example creates the public folder Marketing in the root of the public folder tree on the local server of the closest Mailbox server with a public folder database.

New-PublicFolder -Name Marketing 

This example creates the public folder FY2010 under the existing folders \Legal\Cases. The path to the new folder is \Legal\Cases\FY2010 on the server MBXSVR01.

New-PublicFolder -Name FY2010 -Path \Legal\Cases -Server MBXSVR01
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.