After being in preview for about a year, the PowerShell module for Microsoft Teams is now generally available.
If you used the preview module, some PowerShell cmdlets did not make it to GA:
- Get-TeamFunSettings
- Set-TeamFunSettings
- Get-TeamGuestSettings
- Set-TeamGuestSettings
- Get-TeamMemberSettings
- Set-TeamMemberSettings
- Get-TeamMessagingSettings
- Set-TeamMessagingSettings
These have been consolidated into the Get-Team / Set-Team commands
The various cmdlets available in this 1.0 version are:
Cmdlet |
Description |
Connects an authenticated account to use for Microsoft Teams environment |
|
|
Disconnects from the Microsoft Teams environment |
Retrieves teams with particular properties or information |
|
Gets all the channels for a team |
|
|
Provides a list of commands for Microsoft Teams |
Returns the users of a specific team |
|
Provisions a new Team, or converts a group to a team |
|
|
Adds a new channel to a team |
Adds an owner or member to the team |
|
Deletes a team |
|
|
Delete a channel |
Removes an owner or member from a team |
|
Updates properties of a team |
|
|
Update Team channel information |
You can download and install the Teams PowerShell module from the PowerShell Gallery
Install-Module -Name MicrosoftTeams