Remove-VBOOrganizationRetentionExclusion
Short Description
Removes retention policy settings for contacts and calendars of a specific organization.
Syntax
|
Remove-VBOOrganizationRetentionExclusion -Exclusion <VBOOrganizationRetentionExclusion> [-WhatIf] [-Confirm] [<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 |
|---|---|---|---|---|---|
|
Exclusion |
Specifies the retention policy settings for contacts and calendars of a specific organization. The cmdlet will remove these settings.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
Confirm |
Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. Default: True |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. Default: False |
|
False |
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.
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:
- 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-VBOOrganizationRetentionExclusionReturns retention policy settings for contacts and calendars of a specific organization. cmdlet. Set the$orgvariable as theOrganizationparameter value. Save the result to the$policysettingsvariable. - Run the
Remove-VBOOrganizationRetentionExclusioncmdlet. Set the$policysettingsvariable as theExclusionparameter value.
Related Commands
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.Get-VBOOrganizationRetentionExclusionReturns retention policy settings for contacts and calendars of a specific organization.