I am trying to use the PowerShell to get the team in Microsoft Teams, but when I open Windows PowerShell and try to connect to Microsoft Teams using the "Connect-MicrosoftTeams" cmdlet I got this error Connect-MicrosoftTeams : The term 'Connect-MicrosoftTeams' is not recognized as the name of a cmdlet.
Connect-MicrosoftTeams : The term 'Connect-MicrosoftTeams' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Get-Team
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-Team:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
How can I use PowerShell with Microsoft Teams?