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.

Run the following command to add Teams module to the current session.

Run the following command to connect to Microsoft Teams.

Run the following command to get all the teams.

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.