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
To get this object, run the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
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 ------------ ------------ ------------ abc.onmicrosoft.com False True |
Perform the following steps:
- Run the
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure. cmdlet. Set theNameparameter value. Save the result to the$orgvariable. - Run the
Get-VBOOrganizationRetentionExclusioncmdlet. Set the$orgvariable as theOrganizationparameter value.The cmdlet output will contain the settings of organization retention policy for contacts and calendars.
Related Commands
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.