Teams: Check client version using PowerShell

An easy way to check MS Teams version is in the client by going to About > Version:

The version will be displayed near the Command Box:

The MS Teams client is installed per user and the version is stored in the settings.json file:

%AppData%\Microsoft\Teams\

Using PowerShell we can convert JSON files to PowerShell Objects:

PowerTip: Convert JSON File to PowerShell Object
https://blogs.technet.microsoft.com/heyscriptingguy/2014/04/23/powertip-convert-json-file-to-powershell-object/

Now we can run the following PowerShell cmdlet to get the Teams client version:

Get-Content $env:UserProfile”\AppData\Roaming\Microsoft\Teams\settings.json” | ConvertFrom-Json | Select Version, Ring, Environment

The install/update date is in the installTime.txt file in the same folder:

Get-Content $env:UserProfile”\AppData\Roaming\Microsoft\Teams\installTime.txt”

Note: The date is stored in MM/dd/yyyy

Since MS Teams is installed on a user level we can have multiple versions on the same machine.

To check all the installed versions we can use a PowerShell Script that will execute the previous cmdlets for each user.

The script is available in TechNet Gallery and doesn’t take any parameter:

MS Teams installed version for each user profile
https://gallery.technet.microsoft.com/MS-Teams-Get-installed-60c0dc5c

Get-TeamsVersion.ps1

Thanks to The Scripting Guys for a way to list the user profile paths:

Use PowerShell to Find User Profiles on a Computer
https://blogs.technet.microsoft.com/heyscriptingguy/2011/11/10/use-powershell-to-find-user-profiles-on-a-computer/

How to disable Microsoft Teams from Startup

Update 2017/03/07 – Now we can control the start up behaviour with an application setting.

Although we use Microsoft Teams every day we might not want to run it on startup.

MS Teams now has this two options, we need to go to Settings > General > Application:

We simply disable Auto-start application , if we don’t want MS Teams to start when we log in.

Windows 10

We can confirm that disabling the setting remove MS Teams from Task Manager > Start-Up:

Note: Please note that the displayed name is Update.

And if we enable it again it will be added back:

Microsoft Teams: Desktop and Web Client Log Location

Update 2017/11/16 – New keyboard shortcuts for Web Client.

Microsoft Teams preview was recently released and to help troubleshooting we need to verify the log and media trace files.

The Microsoft Teams Desktop Client logs are located in:

Windows
%AppData%\Microsoft\Teams\logs.txt

Mac
~\Library\Application Support\Microsoft\Teams\logs.txt

And the Media ETL traces are located in:

Windows
%AppData%\Microsoft\Teams\media-stack

Mac
~\Library\Application Support\Microsoft\Teams

If we use the Microsoft Teams Web Client we can download the log file by using the keyboard shortcut:

Windows: Ctrl + Shift + Alt + 1

Mac: Control  + Shift + Command + 1

Note: When using Microsoft Teams Web Client in Mac the the log file will be save in downloads folder without being prompted.

For more information on Microsoft Teams please check:

Meet Microsoft Teams
https://products.office.com/en-us/microsoft-teams/group-chat-software

Microsoft Teams is available using a browser or with the Desktop/Client App:

Microsoft Teams Web Client
https://teams.microsoft.com

Get Microsoft Teams on all your devices
https://teams.microsoft.com/downloads