Bearbeiten

Freigeben über


New-CsTeamsWorkLoadPolicy

This cmdlet creates a Teams Workload Policy instance for the tenant.

Syntax

New-CsTeamsWorkLoadPolicy
   [-Identity] <String>
   [-AllowCalling <Boolean>]
   [-AllowCallingPinned <Boolean>]
   [-AllowMeeting <Boolean>]
   [-AllowMeetingPinned <Boolean>]
   [-AllowMessaging <Boolean>]
   [-AllowMessagingPinned <Boolean>]
   [-Description <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:\> New-CsTeamsWorkLoadPolicy -Identity Test

Creates a new Teams Workload Policy with the specified identity of "Test".

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

Enables administrators to provide explanatory text about the Teams Workload policy. For example, the Description might indicate the users the policy should be assigned to.

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

-Identity

The identity of the Teams Workload Policy.

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

-MsftInternalProcessingMode

For Microsoft 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