Get-CsTeamsMediaLoggingPolicy

Returns information about the Teams Media Logging policy.

Syntax

Get-CsTeamsMediaLoggingPolicy
   [[-Identity] <String>]
   [<CommonParameters>]
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

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-Identity

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.

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

Outputs

System.Object