Add-VBOOrganizationRetentionExclusion

Short Description

Adds retention policy settings for contacts and calendars of a specific organization.

Syntax

Add-VBOOrganizationRetentionExclusion -Organization <VBOOrganization> [-Contacts [<SwitchParameter>]] [-Calendar[<SwitchParameter>]] [<CommonParameters>]

Detailed Description

This cmdlet adds retention policy settings for contacts and calendars of a specific organization.

Add-VBOOrganizationRetentionExclusion Important!

This retention policy has higher priority than the global retention policy.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Organization

Specifies an organization. The cmdlet will set retention policy for contacts and calendars added to the specified organization.

Accepts the VBOOrganization object. To create this object, run the Get-VBOOrganization cmdlet.

True

Named

False

False

Contacts

Defines that Veeam Backup for Microsoft Office 365 will not apply retention policy for contacts of the specified organization.

If you do not provide this parameter, Veeam Backup for Microsoft Office 365 will apply retention policy for contacts.

SwitchParameter

False

Named

False

False

Calendar

Defines that Veeam Backup for Microsoft Office 365 will not apply retention policy for calendars of the specified organization.

If you do not provide this parameter, Veeam Backup for Microsoft Office 365 will apply retention policy for contacts.

SwitchParameter

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

This cmdlet returns the VBOOrganizationRetentionExclusion object that contains settings of organization retention policy for contacts and calendars.

Examples

Add-VBOOrganizationRetentionExclusionExample 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 Office 365 will apply retention policy for contacts added to the Atlanta organization.

$org = Get-VBOOrganization -Name "Atlanta"

Add-VBOOrganizationRetentionExclusion -Organization $org -Contacts

Perform the following steps:

  1. Run the Get-VBOOrganization cmdlet. Set the Name parameter value. Save the result to the $org variable.
  2. Run the Add-VBOOrganizationRetentionExclusion cmdlet. Set the $org variable as the Organization parameter value. Provide the Contacts parameter.

Add-VBOOrganizationRetentionExclusionExample 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 Office 365 will apply retention policy for calendars added to the Atlanta organization.

$org = Get-VBOOrganization -Name "Atlanta"

Add-VBOOrganizationRetentionExclusion -Organization $org -Calendar

Perform the following steps:

  1. Run the Get-VBOOrganization cmdlet. Set the Name parameter value. Save the result to the $org variable.
  2. Run the Add-VBOOrganizationRetentionExclusion cmdlet. Set the $org variable as the Organization parameter value. Provide the Contacts parameter.

Related Commands

Get-VBOOrganization

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.