Takes the output from a Casper extension attribute and adds them (if present) to the local admin user group.
-
Create a Casper Extension Attribute called "Admin Users"
-
Enter the AD usernames you want to have local admin rights on that computer Make sure they're separated by a comma.
-
Set the script to run as part of your logout policies.
-
Also make sure you have an api access user that has read only access to the JSS. Add that username / password to the script.
-
Test!
This is a prototype at present and is made available for your use at your own risk.
Please test on a non production environment!