Connect to Microsoft Teams PowerShell
Microsoft Teams PowerShell Modunle
You need install Microsoft Teams module only once. In the next time, run to connect to Microsoft Teams PowerShell.
##Install Modunle and Connect to Microsoft Teams
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine -Force;
Install-PackageProvider -Name NuGet -Force;
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted;
Install-Module -Name MicrosoftTeams;
Update-Module -Name MicrosoftTeams;
Connect-MicrosoftTeams
Check default policy
By default, users can use change background, blur and effects, to check, I will run the cmdlet below.
Get-CsTeamsMeetingPolicy | Ft Identity, VideoFiltersMode
PS C:\Windows\system32> Get-CsTeamsMeetingPolicy | Ft Identity, VideoFiltersMode
Identity VideoFiltersMode
-------- ----------------
Global AllFilters
Tag:AllOn AllFilters
Tag:RestrictedAnonymousAccess AllFilters
Tag:AllOff AllFilters
Tag:RestrictedAnonymousNoRecording AllFilters
Tag:Default AllFilters
Tag:Kiosk AllFilters
Options
Before I show you how to change the policy, below are the four available options.
- NoFilters – No filters, users can’t change the background
- BlurOnly – I can blur the background
- BlurAndDefaultBackgrounds – I can only use default Blur and Default backgrounds.
- AllFilters – I can change everything (default)
Disable and control Microsoft Teams
To change the settings, we need to specify the identity of the policy. In my case, I will modify the global policy using the cmdlet below. I will allow everything but disable custom backgrounds.
Set-CsTeamsMeetingPolicy -Identity Global -VideoFiltersMode BlurAndDefaultBackgrounds
PS C:\Windows\system32> Get-CsTeamsMeetingPolicy | Ft Identity, VideoFiltersMode
Identity VideoFiltersMode
-------- ----------------
Global BlurAndDefaultBackgrounds
Tag:AllOn AllFilters
Tag:RestrictedAnonymousAccess AllFilters
Tag:AllOff AllFilters
Tag:RestrictedAnonymousNoRecording AllFilters
Tag:Default AllFilters
Tag:Kiosk AllFilters
5/5 - (1 vote)