Commands › Microsoft Teams

Get-CsTeamsRemoteLogCollectionDevice

Microsoft Teams MicrosoftTeams Get-*

Returns a list of devices for which remote log collection has been initiated for.

Quick start script

# Get-CsTeamsRemoteLogCollectionDevice — 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-CsTeamsRemoteLogCollectionDevice -Id <Guid> | Format-List

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

Syntax

Get-CsTeamsRemoteLogCollectionDevice [[-Identity] <Guid>] [-Id <Guid>]
[<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity Guid The Identity parameter identifies the remote log collection configuration.
-Id Guid yes Identity of the record (the remote log collection device).

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