- Run PowerShell as administrator.
![](http://www.howtonetworking.com/blog/wp-content/uploads/2023/11/image-86.png)
2. Install the PowerShell module for Microsoft Teams in your machine by runnng this command:
Install-Module MicrosoftTeams
![](http://www.howtonetworking.com/blog/wp-content/uploads/2023/11/image-87-1024x359.png)
Note: To check if you have the Teams module installed already by:
1 | Get-module *teams* |
![](http://www.howtonetworking.com/blog/wp-content/uploads/2023/11/image-89.png)
3. Now, you can connect to Teams and work on your requirements. Get a List of Microsoft Teams with PowerShell using this command:
Connect-MicrosoftTeams
![](http://www.howtonetworking.com/blog/wp-content/uploads/2023/11/image-90.png)
![](http://www.howtonetworking.com/blog/wp-content/uploads/2023/11/image-88.png)