Update to Microsoft Teams PowerShell Module (v 0.9.5)

Microsoft have recently released a much-needed updated version of the Microsoft Teams PowerShell module. The updated module brings a lot of much needed functionality that previously would have required workaround to programmatically access the Teams config. While the module is not quite there yet, it’s good to have these improvements available.

To install the module, first remove the old version by launching an administrative PowerShell window and using the command “Uninstall-Module MicrosoftTeams”.

Next, download the updated module by running “Install-Module MicrosoftTeams”

Let’s look at the command in the module, the list of commands is pretty similar to before however we can see the version number is now 0.9.5.

teams1.png

Using Connect-MicrosoftTeams to connect to the service, we can test out the new functionality of the “Get-Team” cmdlet.

2.png

Now we see the major change. The “Get-Team” cmdlet now lists ALL teams in the organization rather than just the teams we are a member of! From a pure reporting point of view this is an amazing improvement. Now I can retire all my workaround scripts using different methods of determining Teams vs groups etc. We can easily stay in the Teams module to look up a team and enumerate the members.

As I mentioned above, the module is not as fleshed out as I’d like it to be just yet but seeing these improvements regularly will have it there in no time.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s