Microsoft Teams – Connect to Powershell

Hi Guys,

Microsoft recently released the Powershell Cmdlets (still in beta), which gives you the opportunity to manage Microsoft Teams by Powershell.
To get started you wil first need to install the Microsoft Teams Powershell module. You can do this by using the following command:

Install-Module -Name MicrosoftTeams
<img class="alignnone size-full wp-image-1438" src="https://erwinbierens.com/wp-content/uploads/2017/11/install-module-MicrosoftTeams.png" alt="install-module MicrosoftTeams" width="809" height="89" />

After installing the module we need to set up a connection to your Office 365 tenant, using the following command:

Connect-MicrosoftTeams
<img class="alignnone size-large wp-image-1440" src="https://erwinbierens.com/wp-content/uploads/2017/11/connect-microsoftteams.png" alt="" width="388" height="120" />

When you are finished you can use the following command to shut down the connection:

Disconnect-MicrosoftTeams

In the next blog i will explain how to use the other commands to manage your Teams.

You may also like..

Leave a Reply