Get-VBOOrganizationRetentionExclusion

In this article

    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

    Accept Wildcard Characters

    Organization

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

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

    True

    Named

    False

    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

    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

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

    veeambackupdiv3.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