Articles about European Sharepoint Hosting Service
SharePoint 2013 Hosting UK – HostForLIFE.eu :: How To Connect To Microsoft Teams Using PowerShell?
Microsoft Teams PowerShell cmdlets are currently available in beta version and this would be helpful for Microsoft Teams administration and management.
Open PowerShell window and run the following command to Install Microsoft Teams Module.
1 2 |
# Install Microsoft Teams Module Install-Module MicrosoftTeams |
Run the following command to add Teams module to the current session.
1 2 |
# Add MicrosoftTeams Module to the current session Import-Module MicrosoftTeams |
Run the following command to connect to Microsoft Teams.
1 2 3 4 5 |
# Get the credentials $credentials=Get-Credential # Connect to Microsoft Teams Connect-MicrosoftTeams -Credential $credentials |
Run the following command to get all the teams.
1 2 |
# Get all the teams Get-Team |
Reference
https://docs.microsoft.com/en-us/powershell/module/teams/?view=teams-ps
Thus in this blog, you saw how to connect to Microsoft Teams using PowerShell for service administration and management.
Print article | This entry was posted by Peter on August 16, 2018 at 7:14 am, and is filed under European SharePoint 2013 Hosting. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |