smart label against AD
how do I write a smart label for devices by OU
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
Ziggi
5 years ago
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.
Posted by:
chucksteel
5 years ago