Set-VBOGlobalRetentionExclusion

Short Description

Modifies global retention policy settings for contacts and calendars.

Syntax

Set-VBOGlobalRetentionExclusion [-Contacts] [-Calendar]  [<CommonParameters>]

Detailed Description

This cmdlet modifies global retention policy settings for contacts and calendars. 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

Contacts

Defines that the cmdlet will change global retention policy settings for contacts.

Default: False

If you provide this parameter, the global retention policy will be applied to contacts. Otherwise, global retention policy will not be applied to contacts.

SwitchParameter

False

Named

False

Calendar

Defines that the cmdlet will change global retention policy settings for calendars.

Default: False

If you provide this parameter, the global retention policy will be applied to calendars. Otherwise, global retention policy will not be applied to calendars.

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

The cmdlet returns the VBOGlobalRetentionExclusionobject that contains retention policy settings for calendars and contacts.

Examples

Set-VBOGlobalRetentionExclusionExample 1. Enabling Retention Policy for Contacts

This command enables retention policy for contacts.

Set-VBOGlobalRetentionExclusion -Contacts

Set-VBOGlobalRetentionExclusionExample 2. Enabling Retention Policy for Calendars

This command enables retention policy for calendars.

Set-VBOGlobalRetentionExclusion -Calendar

Set-VBOGlobalRetentionExclusionExample 3. Disabling Retention Policy for Contacts

This command disables retention policy for contacts.

Set-VBOGlobalRetentionExclusion -Contacts:$false

Set-VBOGlobalRetentionExclusionExample 4. Disabling Retention Policy for Calendars

This command disables retention policy for calendars.

Set-VBOGlobalRetentionExclusion -Calendar:$false

Page updated 5/6/2024

Page content applies to build 8.0.5.20