CmdID / PowerShell / Cmdlets / Set
Set-CsTeamsVdiPolicy
The SetCsTeamsVdiPolicy cmdlet allows administrators to update existing Vdi policies that can be assigned to particular users to control Teams features related to Vdi. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 7 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DisableAudioVideoInCallsAndMeetingsDetermines whether a user on a non-optimized Vdi environment can hold person-to-person audio and video calls.-DisableCallsAndMeetingsDetermines whether a user on a non-optimized Vdi environment can make all types of calls.-ForceSpecifies whether to suppress warning and confirmation messages.-IdentitySpecify the name of the policy being created.-VDI2OptimizationDetermines whether a user can be VDI 2.0 optimized.-WhatIf, -wiShows what would happen if the cmdlet runs.