Add-VBOOrganizationRetentionExclusion
Short Description
Adds retention policy settings for contacts and calendars of a specific organization.
Syntax
Add-VBOOrganizationRetentionExclusion -Organization <VBOOrganization> [-Contacts] [-Calendar] [<CommonParameters>] |
Detailed Description
This cmdlet adds retention policy settings for contacts and calendars of a specific organization.
Important |
This retention policy has higher priority than the global retention policy. |
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Organization | Specifies a Microsoft organization. The cmdlet will set retention policy for contacts and calendars added to the specified organization. | Accepts the VBOOrganization object. To get this object, run the Get-VBOOrganization cmdlet. | True | Named | False |
Contacts | Defines that Veeam Backup for Microsoft 365 will not apply retention policy for contacts of the specified organization. If you do not provide this parameter, Veeam Backup for Microsoft 365 will apply retention policy for contacts. Default: False | SwitchParameter | False | Named | False |
Calendar | Defines that Veeam Backup for Microsoft 365 will not apply retention policy for calendars of the specified organization. If you do not provide this parameter, Veeam Backup for Microsoft 365 will apply retention policy for calendars. Default: False | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
This cmdlet returns the VBOOrganizationRetentionExclusion object that contains settings of organization retention policy for contacts and calendars.
Examples
Example 1. Enabling Retention Policy for Organization Contacts
This example shows how to enable retention policy for contacts of the Atlanta organization. Veeam Backup for Microsoft 365 will apply retention policy for contacts added to the Atlanta organization.
Perform the following steps:
|
Example 2. Enabling Retention Policy for Organization Calendars
This example shows how to enable retention policy for calendars of the Atlanta organization. Veeam Backup for Microsoft 365 will apply retention policy for calendars added to the Atlanta organization.
Perform the following steps:
|
Related Commands