Set-CsTeamsUpdateManagementPolicy

Use this cmdlet to modify a Teams Update Management policy.

Syntax

Set-CsTeamsUpdateManagementPolicy
   [-DisabledInProductMessages <System.Management.Automation.PSListModifier`1[System.String]>]
   [-Description <String>]
   [-AllowManagedUpdates <Boolean>]
   [-AllowPreview <Boolean>]
   [-UpdateDayOfWeek <Int64>]
   [-UpdateTime <String>]
   [-UpdateTimeOfDay <DateTime>]
   [-AllowPublicPreview <String>]
   [-UseNewTeamsClient <String>]
   [-BlockLegacyAuthorization <Boolean>]
   [-Identity] <String>
   [-Force]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Modifies a Teams Update Management policy.

Examples

Example 1

PS C:\> Set-CsTeamsUpdateManagementPolicy -Identity "Campaign Policy" -DisabledInProductMessages @("91382d07-8b89-444c-bbcb-cfe43133af33")

In this example, the policy "Campaign Policy" is modified, disabling the in-product messages with the category "What's New".

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisabledInProductMessages

List of IDs of the categories of the in-product messages that will be disabled. You can choose one of the categories from this table:

ID Campaign Category
91382d07-8b89-444c-bbcb-cfe43133af33 What's New
edf2633e-9827-44de-b34c-8b8b9717e84c Conferences
Type:System.Management.Automation.PSListModifier`1[System.String]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Suppresses any confirmation prompts that would otherwise be displayed before making changes and suppresses the display of any non-fatal error message that might arise when running the command.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Identity

The unique identifier of the policy.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Void