03/26/2019 235 views

how do I write  a smart label for devices by OU

0 Comments   [ + ] Show comments


All Answers


You can create a Custom Inventory Rule, which will populate each Device with it's OU.


or using

ShellCommandTextReturn(cmd /c whoami /fqdn)

You can then see which OU the user is in.

Then go to Labels > Smart Labels > Choose Action - New Device Label and do the following

Just replace Computers with your OU. You can also do 'is exactly' instead of contains, Then give your label a name and Click Save.

Machines will then be populated into the Smart Label when they check in.

Answered 03/27/2019 by: Ziggi
Blue Belt


I recommend using LDAP labels for this purpose. On the appliance, click Home, Label Management, LDAP Labels. Click the Need Help link on the right of the screen to open the contextual help menu. Click Add or Edit LDAP labels to view the instructions in the Admin Guide.

Answered 03/27/2019 by: chucksteel
Red Belt