Get-CsTeamsMediaLoggingPolicy
Returns information about the Teams Media Logging policy.
Syntax
Identity (Default)
Get-CsTeamsMediaLoggingPolicy
[[-Identity] <String>]
[<CommonParameters>]
Filter
Get-CsTeamsMediaLoggingPolicy
[-Filter <String>]
[<CommonParameters>]
Description
Returns information about the Teams Media Logging policy. TeamsMediaLoggingPolicy allows administrators to enable media logging for users. When assigned, it will enable media logging for the user overriding other settings. After removing the policy, media logging setting will revert to the previous value.
NOTES: TeamsMediaLoggingPolicy has only one instance that is built into the system, so there is no corresponding New cmdlet.
Examples
EXAMPLE 1
PS C:\> Get-CsTeamsMediaLoggingPolicy
Return information for all Teams Media Logging policies available for use in the tenant.
EXAMPLE 2
PS C:\> Get-CsTeamsMediaLoggingPolicy -Identity Global
Return Teams Media Logging policy that is set for the entire tenant.
Parameters
-Filter
Applicable: Microsoft Teams
Enables using wildcards when specifying the policy (or policies) to be retrieved. Note that you cannot use both the Filter and the Identity parameters in the same command.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Filter
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Identity
Applicable: Microsoft Teams
Unique identifier assigned to the Teams Media Logging policy. Note that Teams Media Logging policy has only one instance that has Identity "Enabled".
Use the "Global" Identity if you wish to retrieve the policy set for the entire tenant.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Identity
Position: | 2 |
Mandatory: | False |
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.