Friday, November 3, 2017

Quick Overview of the new Microsoft Teams PowerShell Module

Microsoft has released the first version of the Microsoft Teams PowerShell cmdlet today on November 3rd, 2017 with version 0.9.0. You can install it from the PowerShell Gallery over here: http://ift.tt/2hc4mXF . This blog post will simply be an overview of what’s possible, without going too much in the technical details of each cmdlet, as the official documentation is not even out yet

First, we need to connect to Microsoft Teams by using the

Connect-MicrosoftTeams
  cmdlet as seen below.

Microsoft Teams PowerShell

I can then view all my Teams by running the

Get-Team
  cmdlet

Microsoft Teams PowerShell

Teams use the same ID as the Office 365 Groups they are a part of, so from a management point of view, you can create some interesting management scenarios when managing both of them. When creating a Team you automatically create a group, but an Office 365 Group does not create a Team by default.

Microsoft Teams PowerShell

Let’s play with the First Team settings, see what we can do. First, I can view the Fun settings by running the

Get-TeamFunSettings
  cmdlet. I can view the Guest Settings with the
Get-TeamGuestSettings
  and the Team Member settings with the
Get-TeamMemberSettings
  cmdlet.

Microsoft Teams PowerShell

I can also change the settings, for example I just ruined the fun of everyone in the team by running the following cmdlet:

Set-TeamFunSettings -GroupId $GroupId -AllowGiphy $false

In that team, the GIF button is gone instantly from the options as you can see below.

Microsoft Teams PowerShell

In my other Teams, it’s still visible!

Microsoft Teams PowerShell

I can also block users from editing messages by running the

Set-TeamMessagingSettings
  cmdlet.

Microsoft Teams PowerShell

Before:

Microsoft Teams PowerShell

After:

Microsoft Teams PowerShell

I can also view and edit membership by using the

Get-TeamUser
 ,
Remove-TeamUser
  and
Add-TeamUser
  cmdlets!

Microsoft Teams PowerShell

At the time of writing this blog post, there are 24 PowerShell cmdlets in the Microsoft Teams Module, which you can view below!

Microsoft Teams PowerShell

While this is not an in depth review, I hope this small overview will make you download the PowerShell module and try it out in your own tenant!

Follow me on Social Media and Share this article with your friends!

Leave a comment and don’t forget to like the Absolute SharePoint Blog Page   on Facebook and to follow me on Twitter here  for the latest news and technical articles on SharePoint.  I am also a Pluralsight author, and you can view all the courses I created on my author page.

The post Quick Overview of the new Microsoft Teams PowerShell Module appeared first on Absolute SharePoint Blog by Vlad Catrinescu.


by Vlad Catrinescu via Absolute SharePoint Blog by Vlad Catrinescu

No comments:

Post a Comment