Applies to: Exchange Server 2013
Topic Last Modified: 2012-09-17
Managed folders aren’t available in this release. You must use retention policies for messaging records management.
For information about the parameter sets in the Syntax section below, see Syntax.
Syntax
New-ManagedFolder -FolderName <String>
[-LocalizedFolderName <MultiValuedProperty>] [-StorageQuota
<Unlimited>] <COMMON PARAMETERS>
|
New-ManagedFolder -DefaultFolderType <Calendar |
Contacts | DeletedItems | Drafts | Inbox | JunkEmail | Journal |
Notes | Outbox | SentItems | Tasks | All | RssSubscriptions |
SyncIssues | ConversationHistory> <COMMON
PARAMETERS>
|
COMMON PARAMETERS: -Name <String> [-BaseFolderOnly
<$true | $false>] [-Comment <String>] [-Confirm
[<SwitchParameter>]] [-DomainController <Fqdn>]
[-LocalizedComment <MultiValuedProperty>]
[-MustDisplayCommentEnabled <$true | $false>] [-Organization
<OrganizationIdParameter>] [-WhatIf
[<SwitchParameter>]]
|
Examples
EXAMPLE 1
This example creates a managed folder that has a maximum capacity of 1 MB.
Copy Code | |
---|---|
New-ManagedFolder -Name NewFolder -FolderName "New Folder" -StorageQuota "1 MB" |
EXAMPLE 2
This example creates a managed folder that has a default folder name and comment in English, localized folder name in Spanish and French, and localized comment in Spanish and French.
Copy Code | |
---|---|
New-ManagedFolder -Name MyFolder -FolderName "My Folder" -LocalizedFolderName Spanish:"Mi Carpeta", French:"Mon Dossier" -Comment "My comment" -LocalizedComment Spanish:"Mi comentario", French:"Mon annotation" |
EXAMPLE 3
This example creates an instance of the default folder Inbox.
Copy Code | |
---|---|
New-ManagedFolder -Name AnotherInbox -DefaultFolderType Inbox |
Detailed Description
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 "Messaging records management" entry in the Messaging Policy and Compliance Permissions topic.
Parameters
Parameter | Required | Type | Description | ||
---|---|---|---|---|---|
DefaultFolderType |
Required |
Microsoft.Exchange.Management.SystemConfigurationTasks.NewManagedFolder+DefaultManagedFolderType |
The DefaultFolderType parameter specifies the type of default folder to create, such as Inbox or Deleted Items. A managed folder mailbox policy can have only one managed folder of each default folder type. Additional default folders of a particular type, such as Inbox, can be created and added to different mailbox policies. This allows you to assign different managed content settings for a particular default folder type for different sets of users. For example, you could have two default folders of type Inbox, one with managed content settings set to retain messages for one month and one with settings to retain messages for one year. Each managed default folder should have a unique name (assigned using the Name parameter). If a value isn't entered for the DefaultFolderType parameter, it's treated as a managed custom folder. The default folder types that you can specify are:
|
||
FolderName |
Required |
System.String |
The FolderName parameter specifies the folder name as it appears in users' mailboxes. The folder name can have up to 255 characters. You can't set the FolderName parameter for managed default folders, such as Inbox.
|
||
Name |
Required |
System.String |
The Name parameter specifies a unique name for the managed folder object in Active Directory. The name can have up to 65 characters. Whereas the FolderName parameter specifies the folder name as displayed to users in email clients, the Name parameter is used by Exchange administration tools to represent the managed folder object.
|
||
BaseFolderOnly |
Optional |
System.Boolean |
The BaseFolderOnly parameter specifies whether the managed content settings should be applied only to the managed folder or to the folder and all its subfolders. |
||
Comment |
Optional |
System.String |
The Comment parameter specifies the default administrator comment to be displayed with the folder in Microsoft Office Outlook 2007 and Microsoft Office Outlook Web App. The comment can have up to 255 characters, including spaces. |
||
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
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. |
||
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory. |
||
LocalizedComment |
Optional |
Microsoft.Exchange.Data.MultiValuedProperty |
The LocalizedComment parameter specifies localized administrator comments and their languages. When the language setting of Outlook 2007 matches one of the locales specified in this parameter, the corresponding localized comment is displayed. Comments must be in the form ISOLanguageCode:Comment (for example, -LocalizedComment EN-US:"This is a localized comment in U.S. English"). |
||
LocalizedFolderName |
Optional |
Microsoft.Exchange.Data.MultiValuedProperty |
The LocalizedFolderName parameter specifies the localized folder names and their languages. When the language setting of Outlook 2007 matches one of the locales specified in this parameter, the corresponding localized folder name is displayed. Folder names must be in the form ISOLanguageCode:FolderName (for example, -LocalizedFolderName EN-US:"Business Critical"). |
||
MustDisplayCommentEnabled |
Optional |
System.Boolean |
The MustDisplayCommentEnabled parameter specifies whether
to set a flag used by Outlook 2007 to prevent users from minimizing
a folder comment (that's visible in Outlook 2007 and Outlook Web
App). If the MustDisplayCommentEnabled parameter is present
and set to |
||
Organization |
Optional |
Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter |
The Organization parameter is reserved for internal Microsoft use. |
||
StorageQuota |
Optional |
Microsoft.Exchange.Data.Unlimited |
The StorageQuota parameter specifies the storage size limit for the mailbox folder. When the folder size exceeds this limit, no additional items may be added. Storage size limits can be specified in kilobytes (KB) or megabytes (MB), for example, 100 KB or 5 MB. |
||
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
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. |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.