Hey Everyone!
I have been at this for hours and I am not sure what I am doing wrong. I am trying to make an extention attribute that will display the users current keyboard input type. We have users in the UK and in the US and I have been asked to show if the users mac has a UK Keyboard or a US Keyboard.
This is my script, its very simple and I am not sure why its not showing a result in Jamf Pro. Even know it shows a result in terminal and code runner.
#!/bin/bash
# get the keyboard layout name
result=$(defaults read com.apple.HIToolbox AppleCurrentKeyboardLayoutInputSourceID)
echo "<result>$result</result>"
Here is my EA's Attributes
I am trying to find out if I need to contact jamf or am I missing something. Any help would be greatly appreciated!