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.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input | Accept Wildcard Characters |
---|---|---|---|---|---|---|
Contacts | Defines that the cmdlet will change retention policy settings for contacts. If you provide this parameter, the retention policy will be applied to contacts. Otherwise, retention policy will not be applied to contacts. | SwitchParameter | False | Named | False |
|
Calendar | Defines that the cmdlet will change retention policy settings for calendars. If you provide this parameter, the retention policy settings will be applied to calendars. Otherwise, retention policy settings 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 Microsoft Docs.
Output Object
The cmdlet returns the VBOGlobalRetentionExclusionobject that contains retention policy settings for calendars and contacts.
Examples
Example 1. Enabling Retention Policy for Contacts
This command enables retention policy for contacts.
|
Example 2. Enabling Retention Policy for Calendars
This command enables retention policy for calendars.
|
Example 3. Disabling Retention Policy for Contacts
This command disables retention policy for calendars.
|
Example 4. Disabling Retention Policy for Calendars
This command disables retention policy for calendars.
|