Command line assign new host to group with space in its name

Options

I've taken over Teamviewer deployment from someone that left the company.  He deployed Teamviewer 12 and used TeamViewer_assignment.exe to assign hosts to groups.  I'm working on a Teamviewer 14 upgrade and see that can be done in the command line now with --group switch.  This works, but my problem is my groups have spaces in the names, so when I use ASSIGNMENTOPTIONS="--group 'Group A'" a new 'Group group is created, and the new host is placed there.  If I use double quotes (ASSIGNMENTOPTIONS="--group "Group A""), msiexec complains about the syntax.  Is there a way to use the --group switch to assign hosts to a group whose name contains a space?

 

Thanks!

Best Answers

Answers