Microsoft Teams PowerShell Overview
Microsoft Teams PowerShell is a set of cmdlets for managing Teams directly from the PowerShell command line. Written in .NET Standard, Teams PowerShell works on PowerShell 5.1 on Windows,PowerShell 6.x and higher on all platforms including Azure Shell.
Before you can start using PowerShell, you'll need to install it.
There are known issues with PowerShell 7 and Teams PowerShell. We recommend using PowerShell 5.1 until the issues are resolved.
Teams PowerShell is available on PowerShell Gallery in two release types.
General Availability (GA): Production-ready cmdlets, updated monthly.
Public Preview: Early access to features. May be updated more frequently than GA.
For detailed information on feature additions and improvements for both releases, read the Teams PowerShell release notes.
Manage Teams with PowerShell
You'll use both of these PowerShell modules to fully manage Teams:
Microsoft Teams PowerShell module: The Teams PowerShell module contains cmdlets for managing teams, chat, and channels.
Skype for Business PowerShell module: The Skype for Business PowerShell module contains the cmdlets to manage meetings, phone system, and policies features.
For a complete guide to managing Teams using these modules, please see Manage Teams with Teams PowerShell.
The latest Teams PowerShell public preview release is integrated with Skype for Business Online Connector, providing a single module for Teams PowerShell management.