/build/static/layout/Breadcrumb_cap_w.png
03/26/2019 83 views

how do I write  a smart label for devices by OU

0 Comments   [ + ] Show comments

Comments


All Answers

0

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

https://www.itninja.com/blog/view/how-to-create-a-custom-inventory-rule-on-the-k1000-that-will-read-the-ad-distinguished-name-of-a-pc

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
Orange Senior Belt

0

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