Commands › Microsoft Teams

Get-CsTeamsMediaLoggingPolicy

Microsoft Teams MicrosoftTeams Get-*

Returns information about the Teams Media Logging policy.

Quick start script

# Get-CsTeamsMediaLoggingPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Get-CsTeamsMediaLoggingPolicy | Format-List

# 3. Export for evidence / drift tracking
Get-CsTeamsMediaLoggingPolicy | Export-Clixml .\CsTeamsMediaLoggingPolicy-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

Identity (Default)

Get-CsTeamsMediaLoggingPolicy [[-Identity] <String>] [<CommonParameters>]

Filter

Get-CsTeamsMediaLoggingPolicy [-Filter <String>] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Filter String 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.
-Identity String Unique identifier assigned to the Teams Media Logging policy. Note that Teams Media Logging policy has only one instance that has Identity "Enabled".

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.