編輯

共用方式為


Set-CsTeamsMediaConnectivityPolicy

This cmdlet Set Teams media connectivity policy value for current tenant.

Syntax

Set-CsTeamsMediaConnectivityPolicy
   -Identity <String>
   -DirectConnection <Boolean>
   [<CommonParameters>]

Description

This cmdlet Set Teams media connectivity policy DirectConnection value for current tenant. The value can be "Enabled" or "Disabled"

Examples

Example 1

PS C:\> Set-CsTeamsMediaConnectivityPolicy -Identity Test -DirectConnection Disabled

Identity DirectConnection
-------- ----------------
Global   Enabled
Tag:Test Disabled

Set Teams media connectivity policy "DirectConnection" value to "Disabled" for identity "Test".

Parameters

-DirectConnection

Policy value of the Teams media connectivity DirectConnection policy.

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

-Identity

Identity of the Teams media connectivity policy.

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