Set-CsTeamsMediaConnectivityPolicy
This cmdlet Set Teams media connectivity policy value for current tenant.
Syntax
Default (Default)
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.
Parameter properties
Type: | Boolean |
Default value: | Enabled |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
("Enabled"
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
"Disabled")
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Identity
Identity of the Teams media connectivity policy.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.