Microsoft Teams PowerShell Overview

Microsoft Teams PowerShell module is a set of cmdlets for managing Teams directly from the PowerShell command line. PowerShell provides powerful features for automation that can be leveraged for managing your Teams workload.

You can use the Microsoft Teams PowerShell module using one of the following methods:

Note

Microsoft Teams PowerShell module versions earlier than 4.x.x are retiring. Please update to the latest version. More details in Teams PowerShell Module - Supported Versions.

Features

The Microsoft Teams PowerShell module includes the following features:

  • Uses a single module to manage all aspects of Teams administration, including users, teams, policies, and configuration.
  • Supports authentication mechanisms such as access tokens and credentials.

Data collection

Microsoft Teams PowerShell module default settings collect telemetry data. Microsoft aggregates collected data to identify patterns of usage and common issues, such as cmdlets with low success, to help us prioritize our work to improve the Teams PowerShell experience. Microsoft Teams PowerShell module does not collect any private or personal data. For more details, refer to the Microsoft Privacy Statement.

Installing Teams PowerShell

Managing Teams with Teams PowerShell

Teams PowerShell Release Notes

Microsoft Teams cmdlet reference

Skype for Business cmdlet reference

Use Microsoft Teams admin roles to manage Teams