Add Posh Test Gallery to add Microsoft Teams Test PowerShell Module

Be the first to vote!

As luck would have it, I had to get the newest version of the Microsoft Teams PowerShell module.  It’s still a test module and not available in the main PSGallery.  So, I had to poke around and figure out how to add it and get the version that supports Get-TeamChannelUser.

Here’s what I did:

  1. Launch elevated PowerShell prompt.
  2. Run:
    Register-PackageSource -Name PoshTestGallery -Location https://www.poshtestgallery.com/api/v2/ -ProviderName PowerShellGet
    
  3. Run:
    Install-Module -Name MicrosoftTeams -RequiredVersion 1.0.18 -Repository PoshTestGallery

Problem solved!

author avatar
Aaron Guilmette
Helping companies conquer inferior technology since 1997. I spend my time developing and implementing technology solutions so people can spend less time with technology. Specialties: Active Directory and Exchange consulting and deployment, Virtualization, Disaster Recovery, Office 365, datacenter migration/consolidation, cheese.