Skip to main content
Question

Building Doesnt Get Updated in Jamf


Forum|alt.badge.img+1

I have a script that runs on enrolment completion and checkin to give user a prompt to select their building. This runs fine but the data doesn't populate the fields in Jamf.

Some configuration profiles and Self Service bookmarks need to be dependant on the building they're in but i can't get it working, any help will be appreciated!

!/bin/sh

userDept=$(osascript -e 'tell application "SystemUIServer" set myDeptList to {"Basecamp","Club Ada","Club Dekker","Club Kilburn (Leeds)","Club Kilburn (Manchester)","Club Turing","Own Device","Pool Laptop"} set myDept to (choose from list myDeptList) end tell')

/usr/local/bin/jamf recon -Building $userDept

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings