Enterprise Vault™ PowerShell Cmdlets
- Introducing the Enterprise Vault PowerShell cmdlets
- Archiving: Exchange
- Archiving: FSA
- Archiving: Skype for Business
- Archiving: SMTP
- Backup
- Classification
- Databases
- IMAP access
- Indexing
- Records management
- Retention plans
- Roles-based administration
- Sites and servers
- Tasks and services
- Vault stores and archives
New-EVExchangeMailboxPolicy
New-EVExchangeMailboxPolicy creates a new Exchange mailbox policy.
New-EVExchangeMailboxPolicy is provided by the snap-in Symantec.EnterpriseVault.PowerShell.AdminAPI.dll
.
Several parameters use enumeration values. For details of the Exchange Mailbox policy enumerations, type get-help about_ExchMbxPolicyEnumerations.
New-EVExchangeMailboxPolicy -Name <String> [-ArchivingStrategy <ArchivingStrategyEnum>] [-LockArchivingStrategy <Boolean>] [-ArchiveItemsOlderThan <Integer>] [-ArchiveItemsOlderThanUnits <AgeUnitsEnum>] [-PercentageOfQuota <Integer>] [-MinimumArchiveAge <Integer>] [-MinimumArchiveAgeUnits <AgeUnitsEnum>] [-SizePriority <Boolean>] [-MinimumItemSizeKB <Integer>] [-ArchiveMsgsWithAttachmentsOnly <Boolean>] [-ShortcutInactivityPeriod <Integer>] [-ShortcutInactivityUnits <AgeUnitsEnum>] [-DeleteAfterArchive <Boolean>] [-LockDeleteAfterArchive <Boolean>] [-CreateShortcutAfterArchive <Boolean>] [-LockCreateShortcutAfterArchive <Boolean>] [-ArchiveUnreadItems <Boolean>] [-LockArchiveUnreadItems <Boolean>] [-OverallLock <Boolean>] [-IncludeRecipientInformation <Boolean>] [-ContentOfShortcutBody <ShortcutBodyContent Enum>] [-IncludeBanner <Boolean>] [-IncludeLinkToArchivedItem <Boolean>] [-MessageCharsToInclude <Integer>] [-DisplayAttachmentsAs <AttachmentsDisplay Enum>] [-IndexLevel <IndexingLevelEnum>] [-IndexPreviewLength <Integer>] [-CreateAttachmentPreview <Boolean>] [-IsADefaultPolicy <Boolean>] [-Description <String>] [-SiteId <String>] [-EntryId <String>] [<CommonParameters>]
Table: New-EVExchangeMailboxPolicy parameters
Parameter | Description |
---|---|
-Name (required) | The name of the Exchange mailbox policy to create. The name must be unique, and it can contain up to 40 alphanumeric or space characters. |
-ArchivingStrategy | The archiving strategy for the Exchange mailbox policy. The enumeration values are as follows:
|
-LockArchivingStrategy | Whether to prevent users from changing the archiving strategy in Outlook for this policy. The default is $true. |
-ArchiveItemsOlderThan | The Exchange mailbox tasks archive items that have not been modified for the length of time that you specify. |
-ArchiveItemsOlderThanUnits | The unit of time to use with ArchiveItemsOlderThan. The enumeration values are as follows:
|
-PercentageOfQuota | If you implement a quota based archiving strategy, this specifies the percentage of each user's Exchange mailbox storage limit that is to be kept free. The Exchange mailbox tasks archive items until each mailbox has this percentage of the mailbox storage limit free. The default value is 10. |
-MinimumArchiveAge | The minimum age of items that are archived. The default value is 2. |
-MinimumArchiveAgeUnits | The units of time to use with MinimumArchiveAge. The enumeration values are as follows:
|
-SizePriority | Whether the Exchange mailbox tasks give priority to items that are larger than MinimumItemSizeKB. The default is $false. |
-MinimumItemSizeKB | The Exchange mailbox tasks give priority to items that are larger than this size in KB. The default size is 10240. |
-ArchiveMsgsWithAttachmentsOnly | Whether a mailbox item is archived only if it has an attachment. The default is $false. |
-ShortcutInactivityPeriod | Delete shortcuts that are older than the age specified. The default is 0. |
-ShortcutInactivityUnits | The units of time to use with ShortcutInactivityPeriod. The enumeration values are as follows:
|
-DeleteAfterArchive | Whether Enterprise Vault deletes items from mailboxes when the items have been successfully stored in an archive. The default is $true. |
-LockDeleteAfterArchive | Whether users are prevented from changing the DeleteAfterArchive setting in their personal settings. The default is $true. |
-CreateShortcutAfterArchive | Whether Enterprise Vault creates a shortcut for newly-archived items. The default is $true. |
-LockCreateShortcutAfterArchive | Whether users are prevented from changing the CreateShortcutAfterArchive setting in their personal settings. The default is $true. |
-ArchiveUnreadItems | Whether Enterprise Vault archives items that have not yet been read. |
-LockArchiveUnreadItems | Whether users are prevented from changing the ArchiveUnreadItems setting in their personal settings. The default is $true. |
-OverallLock | Prevents users from changing the following settings: DeleteAfterArchive, CreateShortcutAfterArchive, ArchiveUnreadItems, and ArchivingStrategy. Specifying a value of $true (the default) forces users to use policy and target settings for mailbox archiving. |
-IncludeRecipientInformation | Whether to include details of To and Cc recipients in shortcuts. Shortcuts always contain the From and Subject information. The default is $true. |
-ContentOfShortcutBody | What to use as the shortcut body. The enumeration values are as follows:
The default value is Customize. |
-IncludeBanner | For customized shortcuts, specifies whether the shortcut contains a
colored banner at the top. You can modify the text that appears in the
banner by editing the |
-IncludeLinkToArchivedItem | For customized shortcuts, specifies whether you have selected to make shortcuts contain links to the archived items. The default is $false. |
MessageCharsToInclude | For customized shortcuts, specifies how many characters of the message body section to include in the shortcut. The default is 1000. |
-DisplayAttachmentsAs | For customized shortcuts, the type of attachment list that you want Enterprise Vault to include in shortcuts. The enumeration values are as follows:
The default value is None. |
-IndexLevel | The indexing level to assign to the archive index. The enumeration values are as follows:
The default value is Full. |
-IndexPreviewLength | The amount of text that Enterprise Vault shows for each item in search results. The default value is 128. |
-CreateAttachmentPreview | Whether Enterprise Vault creates previews of attachment content. Note that these previews cannot be viewed in this release of Enterprise Vault. The default is $false. |
-IsADefaultPolicy | Whether the policy is the default policy. The default is $false. |
-Description | Description of the Exchange mailbox policy. The description can contain up to 127 alphanumeric, space, or special characters. |
-SiteId | The directory entry ID of the Enterprise Vault site in which the policy is configured. |
-EntryId | The directory entry ID of the policy. |
New-EVExchangeMailboxPolicy -Name "Test Policy" -Description "Test policy created using PowerShell"
Creates a new Exchange mailbox policy called Test Policy with the following description: "Test Policy created using PowerShell".
New-EVExchangeMailboxPolicy -Name "Test Policy" -ArchivingStrategy BASEDONAGE -ArchiveItemsOlderThan 3 -ArchiveItemsOlderThanUnits YEARS
Creates a new Exchange mailbox policy called "Test Policy". The archiving strategy is based on age. Enterprise Vault archives items that are older than three years.
None.