I wrote a quick script that follows all of the others here on installing Microsoft Teams via JumpCloud Commands. As usual, normal disclaimer applies (I take no responsibility blah blah)
# Script to download, Silent Install and then clean up once installed Microsft Teams # Writen by twitter.com/richhickson # www.RichardHickson.com #Make temp folder for downloads. mkdir "/tmp/teams/"; cd "/tmp/teams/"; #Download Teams. curl -L -o /tmp/teams/Teams_osx.pkg "https://statics.teams.cdn.office.net/production-osx/1.3.00.4460/Teams_osx.pkg"; #install Teams sudo installer -pkg /private/tmp/teams/Teams_osx.pkg -target /; #tidy up sudo rm -rf "/tmp/teams"; exit 0