Commands › Microsoft Teams
Get-TeamsArtifacts
The `Get-TeamsArtifacts` is available only to tenant administrators and is designed to export Recordings, Transcripts, Notes and Whiteboard artifacts of Teams Meetings. All parameters are optional. If no parameters are specified, artifact metadata is returned for Teams artifacts in all standard OneDrive for Business and SharePoint locations. The actual artifacts themselves can then be downloaded from the URLs in the metadata returned. Output is written to artifacts.json in the current directory.
Quick start script
# Get-TeamsArtifacts — 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-TeamsArtifacts | Format-List
# 3. Export for evidence / drift tracking
Get-TeamsArtifacts | Export-Clixml .\TeamsArtifacts-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-TeamsArtifacts [-OneDrive <String>] [-SharePoint] [-ArtifactType <String>] [-StartTime <String>] [-EndTime <String>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.