Links

Microsoft Teams

PowerShell script to silently install the Microsoft Teams Machine-Wide Installer.

Overview

This script will install the latest version of the Microsoft Teams Machine-Wide Installer. Once installed, Microsoft Teams will be installed for each user on their next login.
By default, the script will install the Teams version matching the system architecture, but the -x86 switch parameter can be used to install 32-bit Teams on 64-bit systems.
Note: If a user uninstalls Teams from their user profile, it will not be reinstalled to their user profile automatically. To redeploy Teams for this user, follow Microsoft's clean up and redeployment procedures.
Prerequisites: This script requires no additional setup. Simply deploy it via your RMM.

Script

Example Usage: .\InstallTeams.ps1 -x86

Learn More

Want to learn more about how this script works? Included below are official documentation links for all cmdlets used in this script, as well as other useful documentation where applicable.
Cmdlet Documentation: