JSS URL Extension Attribute

jstine
Contributor

Does anyone have an EA that can determine what the JSS URL is set to on each machine?

Currently transitioning URLs and just realized that I have no idea how many computers are pointing to the new one and how many have yet to get the update.

1 ACCEPTED SOLUTION

mm2270
Legendary Contributor III

Its stored in the com.jamfsoftware.jamf.plist on each Mac:

#!/bin/sh

JSSURL=$(defaults read /Library/Preferences/com.jamfsoftware.jamf.plist jss_url)

echo "<result>$JSSURL</result>"

View solution in original post

4 REPLIES 4

djwojo
Contributor

+1 Very interested in this as we are pending transition!

mm2270
Legendary Contributor III

Its stored in the com.jamfsoftware.jamf.plist on each Mac:

#!/bin/sh

JSSURL=$(defaults read /Library/Preferences/com.jamfsoftware.jamf.plist jss_url)

echo "<result>$JSSURL</result>"

roiegat
Contributor III

You can use the "jamf checkJSSConnection" command to grab the information.

bpavlov
Honored Contributor

Even if you had an EA to collect that info, wouldn't it always report to the same JSS it is enrolled with? If it's still communicating with the old JSS it will report the URL for the old JSS to the old JSS (and likewise for the new JSS).