Need help assigning machines to a managed group via batch script install.

Options

Currently when rolling out TV to our client machines, we use the following script to auto assign the machine to a group.


msiexec.exe /i C:\temp\TeamViewer_Host.msi /qn APITOKEN=%APITOKEN% ASSIGNMENTOPTIONS="--grant-easy-access --group-id %TeamviewerGroup%"


But we are looking to migrate to managed groups. The previous group id started with g followed by a 9 digit number to identify the group. However the new managed groups use a much longer identifying string and the URL no longer has the g before it. Does anyone know how we can auto assign to the new managed groups via the batch script?

Tagged:

Answers