PowerShell for O365, Teams

Install and connect to Microsoft Teams module for PowerShell

Microsoft Teams is creating a buzz right now, and this where you can manage all your conversations, files, and tools in one team workspace, with instant access to SharePoint, OneNote, PowerBI, and Planner.
You can also create and edit documents right in the app!

And as a good IT Pro, we want to automate things… So here comes PowerShell for Teams!

Install the PowerShell module for Microsoft Teams

  • Open PowerShell
  • Type: Install-Module MicrosoftTeams
  • Choose “Y” to install from the PSGallery
InstallModuleTeams
Install Teams module

 

 

 

 

Connect to Microsoft Teams

  • Type: Connect-MicrosoftTeams
  • Enter your O365 credentials
ConnectMSTeams
Connect to MS Teams

 

 

 

 

 

 

 

EnterPwd
Enter O365 password


Now connected to Microsoft Teams!

ConnectedToTeams
Connected to Microsoft Teams via PowerShell

 

 

 

 

 

 

 

 

 

 

 

List all the cmdlets available

Type Get-Command -Module MicrosoftTeams to see what’s available

AvailableCmdlets
Available cmdlets for Teams

 

List all the Teams in the tenant

To get a list of all the Teams in your tenant, type: Get-Team

GetTeamsInTenant
Get Teams in the tenant

 

Play around with the cmdlets, create new teams, new channels, and more!

For more info, please have a look at the Microsoft Teams page.

 

Loading Likes... Tagged , , ,