Forum Discussion
Adriano Neves
Mar 24, 2020Copper Contributor
Teams/Powershell - Updating MicrosoftTeams Module
Hi, I'm trying to use this command: New-TeamChannel -GroupId <String> -MembershipType Private But the "-MembershipType" isn't available on the current module version I have (1.0.5): ...
Adriano Neves
Mar 24, 2020Copper Contributor
I think I got it.
Uninstall any other MicrosoftTeams modules already installed.
Add the test repository:
Register-PSRepository -Name PSTestGallery -SourceLocation https://www.poshtestgallery.com/api/v2
And then force the installation from that Repository:
Install-Module -Name MicrosoftTeams -Repository PSTestGallery -Force