Deploiement TeamViewer

Deploiement TeamViewer

Exemple de déploiement de TeamViewer par Jamf.

 

#!/bin/bash

computer=$(/usr/sbin/scutil --get ComputerName)

installer -pkg /Users/Shared/TeamViewerHost-idcevt35cf.pkg -target /

sleep 5

/Applications/TeamViewerHost.app/Contents/Helpers/TeamViewer_Assignment -api-token "5063055-ogq5gvk9WYKdyfrBiOx3" -group "MAC" -alias $computer -grant-easy-access

rm /Users/Shared/TeamViewerHost-idcevt35cf.pkg