Veeam Backup for Microsoft Office 365 4.0
PowerShell Reference
Related documents

Remove-VBOOrganizationRetentionExclusion

Short Description

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

Syntax

Remove-VBOOrganizationRetentionExclusion -Exclusion <VBOOrganizationRetentionExclusion> [-WhatIf [<SwitchParameter>]] [-Confirm [<SwitchParameter>]] [<CommonParameters>]

Detailed Description

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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Exclusion

Specifies retention policy settings for contacts and calendars of a specific organization. The cmdlet will modify these settings.

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

True

Named

False

False

WhatIf

Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action.

SwitchParameter

False

Named

False

False

Confirm

Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue.

SwitchParameter

False

Named

False

False

<CommonParameters>

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

Examples

Removing Organization Retention Policy Settings for Contacts and Calendars

This example shows how to remove retention policy settings for contacts and calendars of a specific organization.

$org = Get-VBOOrganization -Name "Atlanta"

$policysettings = Get-VBOOrganizationRetentionExclusion -Organization $org

Remove-VBOOrganizationRetentionExclusion -Exclusion $policysettings

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. Save the result to the $policysettings variable.
  3. Run the Remove-VBOOrganizationRetentionExclusion cmdlet. Set the $org variable as the Organization parameter value. Set the :$true value for the Contacts parameter.

Related Commands

This Document Help Center
User GuideRESTful API ReferencePowerShell ReferenceVeeam Explorers User GuideVeeam Explorers PowerShell Reference
I want to report a typo

There is a misspelling right here:

 

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