Teams – The Teams PowerShell module is now generally available

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

Connect-MicrosoftTeams

Connects an authenticated account to use for Microsoft Teams environment

Disconnect-MicrosoftTeams

Disconnects from the Microsoft Teams environment

Get-Team

Retrieves teams with particular properties or information

Get-TeamChannel

Gets all the channels for a team

Get-TeamHelp

Provides a list of commands for Microsoft Teams

Get-TeamUser

Returns the users of a specific team

New-Team

Provisions a new Team, or converts a group to a team

New-TeamChannel

Adds a new channel to a team

Add-TeamUser

Adds an owner or member to the team

Remove-Team

Deletes a team

Remove-TeamChannel

Delete a channel

Remove-TeamUser

Removes an owner or member from a team

Set-Team

Updates properties of a team

Set-TeamChannel

Update Team channel information

You can download and install the Teams PowerShell module from the PowerShell Gallery

Install-Module -Name MicrosoftTeams

Leave a Comment

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.