Bewerken

Delen via


New-CsTeamsUpdateManagementPolicy

Use this cmdlet to create Teams Update Management policy.

Syntax

New-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

Create a Teams Update Management policy.

This cmdlet can be used to create a new policity to manage the visibility of some Teams in-product messages. Executing the cmdlet will suppress the corresponding category of messages from appearing for the specified user group.

Examples

Example 1

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

Disable 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

Suppress all non-fatal errors.

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

-Identity

A unique identifier.

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

TeamsUpdateManagementPolicy.Cmdlets.TeamsUpdateManagementPolicy