Unsolved
1 Message
0
447
January 27th, 2021 02:00
Changing groups with a command line interface?
Hi,
We have 10 Wyse 5070 thin clients in a large room. We need to be able to connect those thin clients to different VMs through VMware Horizon at different times. So, for example, thin1 needs to connect to VM1 and thin2 needs to connect to VM2 for one exercise, then for another exercise thin1 needs to connect to VM3 and thin2 needs to connect to VM4. I've created device policy subgroups for the different VMs, so each subgroup allows the thin client to auto-connecting to a different VM.
I want to be able to set these groups programmatically/dynamically. We want to build an application that depicts the room layout with all the thin clients, and selecting a thin client opens a dropdown menu with VMs you can connect to. Selecting a VM should then automatically set that thin client to the subgroup belonging to the VM. Is there any way we can achieve this with Wyse Management Suite? Can we interact with WMS or with the thin clients themselves to maybe SSH into their OS and run a command like "set policy VM1"?
Any help or alternative ideas will be much appreciated.



DELL-Scott H
Moderator
•
901 Posts
0
January 28th, 2021 07:00
There currently is no way of programmatically changing settings in WMS outside of the web interface.
One option for your goal is to leverage powershell to control the Horizon side of things.
Using WMS point the device to a specific Horizon pool, use the Horizon provided scripting interface to change the VM allocations in the pool behind the scenes as desired.
https://blogs.vmware.com/euc/2020/01/vmware-horizon-7-powercli.html
#Iwork4Dell