Set-VBOOrganizationRetentionExclusion
Short Description
Modifies retention policy settings for contacts and calendars of a specific organization.
Syntax
Set-VBOOrganizationRetentionExclusion -Exclusion <VBOOrganizationRetentionExclusion> [-Calendar] [-Contacts] [<CommonParameters>] |
Detailed Description
This cmdlet modifies retention policy settings for contacts and calendars of a specific organization. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Exclusion | Specifies retention policy settings for contacts and calendars of a specific organization. The cmdlet will modify these settings. | Accepts the VBOOrganizationRetentionExclusion object. To get this object, run the Get-VBOOrganizationRetentionExclusion cmdlet. | True | Named | False |
Calendar | Defines that Veeam Backup for Microsoft 365 will not apply retention policy for calendars of the specified organization. Default: False If you do not provide this parameter, Veeam Backup for Microsoft 365 will apply retention policy for calendars. | SwitchParameter | False | Named | False |
Contacts | Defines that Veeam Backup for Microsoft 365 will not apply retention policy for contacts of the specified organization. Default: False If you do not provide this parameter, Veeam Backup for Microsoft 365 will apply retention policy for contacts. | 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 Organization Retention Policy for Contacts
This example shows how to enable organization retention policy for contacts.
Perform the following steps:
|
Example 2. Enabling Organization Retention Policy for Calendars
This example shows how to enable organization retention policy for calendars.
Perform the following steps:
|
Example 3. Disabling Organization Retention Policy for Contacts
This example shows how to disable organization retention policy for contacts.
Perform the following steps:
|
Example 4. Disabling Organization Retention Policy for Calendars
This example shows how to disable organization retention policy for calendars.
Perform the following steps:
|
Related Commands