Commands › Microsoft Teams

Get-CsTeamsVdiPolicy

Microsoft Teams MicrosoftTeams Get-*

The Get-CsTeamsVdiPolicy cmdlet enables you to return infomration about all the Vdi policies that have been configured for use in your organization.

Quick start script

# Get-CsTeamsVdiPolicy — 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-CsTeamsVdiPolicy | Format-List

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

Syntax — 2 parameter sets

Identity (Default)

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

Filter

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

Parameters (2)

ParameterTypeRequiredWhat it controls
-Filter String Enables you to use wildcard characters when indicating the policy (or policies) to be returned.
-Identity String Unique identifier of the policy to be returned. To refer to the global policy, use this syntax: -Identity global. To refer to a per-user policy, use syntax similar to this: -Identity SalesDepartmentPolicy. If this...

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