Get-VBOOrganizationRetentionExclusion

Short Description

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

Syntax

Get-VBOOrganizationRetentionExclusion -Organization <VBOOrganization> [<CommonParameters>]

Detailed Description

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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Organization

Specifies a Microsoft organization. The cmdlet will return retention policy settings for this organization.

Accepts the VBOOrganization object.

To get this object, run the Get-VBOOrganization cmdlet.

True

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.

Example

Getting Settings of Organization Retention Policy for Contacts and Calendar

This example shows how to get settings of a retention policy for contacts and calendars that are added to the Atlanta organization.

$org = Get-VBOOrganization -Name "Atlanta"

Get-VBOOrganizationRetentionExclusion -Organization $org

Organization                                                       SkipCalendar                            SkipContacts

------------                                                       ------------                            ------------

abc.onmicrosoft.com                                                  False                                    True

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 Get-VBOOrganizationRetentionExclusion cmdlet. Set the $org variable as the Organization parameter value.

The cmdlet output will contain the settings of organization retention policy for contacts and calendars.

Related Commands

Get-VBOOrganization

Page updated 4/29/2024

Page content applies to build 8.0.5.20