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 Cloud Shell.
Before you can start using PowerShell, you'll need to install it.
Warning
There are known issues with PowerShell 7 and Teams PowerShell. We recommend using PowerShell 5.1 until the issues are resolved.
Releases
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 Teams PowerShell modules to fully manage Teams:
- Microsoft Teams PowerShell module: The Teams PowerShell module contains cmdlets for managing teams, chat, and channels.
Note
The latest Teams PowerShell public release is integrated with Skype for Business Online Connector, providing a single module for Teams PowerShell management.
- Skype for Business PowerShell Connector: The Skype for Business PowerShell connector is now a part of Teams PowerShell module.
For a complete guide to managing Teams using these modules, please see Manage Teams with Teams PowerShell.
Related topics
Managing Teams with Teams PowerShell
Teams PowerShell Release Notes
Microsoft Teams cmdlet reference