Editar

Compartir a través de


Set-CsTeamsWorkLoadPolicy

This cmdlet sets the Teams Workload Policy value for current tenant.

Syntax

Set-CsTeamsWorkLoadPolicy
   [-AllowCalling <Boolean>]
   [-AllowCallingPinned <Boolean>]
   [-AllowMeeting <Boolean>]
   [-AllowMeetingPinned <Boolean>]
   [-AllowMessaging <Boolean>]
   [-AllowMessagingPinned <Boolean>]
   [-Description <String>]
   [[-Identity] <String>]
   [-MsftInternalProcessingMode <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The TeamsWorkLoadPolicy determines the workloads like meeting, messaging, calling that are enabled and/or pinned for the user.

Examples

Example 1

PS C:\> Set-CsTeamsWorkLoadPolicy -Identity Global -AllowCalling Disabled

This sets the Teams Workload Policy Global value of AllowCalling to disabled.

Parameters

-AllowCalling

Determines if calling workload is enabled in the Teams App. Possible values are True and False.

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

-AllowCallingPinned

Determines if calling workload is pinned to the teams navigation bar. Possible values are True and False.

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

-AllowMeeting

Determines if meetings workload is enabled in the Teams App. Possible values are True and False.

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

-AllowMeetingPinned

Determines if meetings workload is pinned to the teams navigation bar. Possible values are True and False.

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

-AllowMessaging

Determines if messaging workload is enabled in the Teams App. Possible values are True and False.

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

-AllowMessagingPinned

Determines if messaging workload is pinned to the teams navigation bar. Possible values are True and False.

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

-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

-Description

The description of the policy.

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

-Identity

The identity of the Teams Work Load Policy.

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

-MsftInternalProcessingMode

For internal use only.

Type:String
Position:Named
Default value:None
Required:False
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.Object