VMware Workspace ONE Community
byzdroid
Contributor
Contributor

How to get all Lenovo devices using smart group ?

Hello,

I have a public application which doesn't work well with Lenovo tab  and Launcher, I was asked to remove it from all the Lenovo devices.

In my OG, I also other tabs from different manufacturers such as Samsung and Huawei.

So I thought that I could leverage a smart group and set Enterprise OEM settings to Lenovo in order to get all the device from this manufacturer and then use this smart group as an exclusion in the app assignment.

The problem is that the smart group remains empty. The only way I managed to make it work is to place a tag on Lenovo devices

Thanks

Eric 

2 Replies
AaronWhittaker
Enthusiast
Enthusiast

You will have to have some fun with some tagging. You could try using this (Workspace ONE Auto Tagging v1.1 - Samples - VMware {code} ) but a quick look through the code shows that its only designed to work with Dell and HP devices. You could expand it to work with Lenovo's though if you are comfortable enough with PowerShell.

That script is designed to run on the end user device however with the same logic you could run it on the server side. You pull all devices from WS1 and then go through them one at a time and tag their make/model/etc. Up to you which way you go about it but end of the day you will have to use tags to get the results that you want.

byzdroid
Contributor
Contributor

Thanks for the reply,

I was thinking about a more built-in solution but I have to admit that it works fine if I add Lenovo as a vendor. At the moment we have decided to tag devices manually since we seldom have to it but it's good to know that I can adapt the script for auto tag.

0 Kudos