Command line assign new host to group with space in its name
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
-
Hello @Heartland,
Thank you for your message.
If you have parameter values with blanks (e.g. for the group name) use two double quotes (not single double quotes!) to frame them.
You will find all the information you need in our Knowledge Base article here: Help for assignment options
I hope this could help. If not, do not hesitate to ask your questions here.
Cheers
Jean
Community Manager
5 -
I has been following that doc but didn't see the part about using double quotes. Thanks for your help!
6
Answers
-
Hello @Heartland,
Thank you for your message.
If you have parameter values with blanks (e.g. for the group name) use two double quotes (not single double quotes!) to frame them.
You will find all the information you need in our Knowledge Base article here: Help for assignment options
I hope this could help. If not, do not hesitate to ask your questions here.
Cheers
Jean
Community Manager
5 -
I has been following that doc but didn't see the part about using double quotes. Thanks for your help!
6