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-MicrosoftTeamscmdlet as seen below.
I can then view all my Teams by running the
Get-Teamcmdlet
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.
Let’s play with the First Team settings, see what we can do. First, I can view the Fun settings by running the
Get-TeamFunSettingscmdlet. I can view the Guest Settings with the
Get-TeamGuestSettingsand the Team Member settings with the
Get-TeamMemberSettingscmdlet.
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.
In my other Teams, it’s still visible!
I can also block users from editing messages by running the
Set-TeamMessagingSettingscmdlet.
Before:
After:
I can also view and edit membership by using the
Get-TeamUser,
Remove-TeamUserand
Add-TeamUsercmdlets!
At the time of writing this blog post, there are 24 PowerShell cmdlets in the Microsoft Teams Module, which you can view below!
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