Skip to main content
Solved

JSS URL Extension Attribute

  • April 4, 2016
  • 4 replies
  • 16 views

Forum|alt.badge.img+7

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.

Best answer by mm2270

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>"

4 replies

djwojo
Forum|alt.badge.img+8
  • Contributor
  • April 4, 2016

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


mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • Answer
  • April 4, 2016

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
Forum|alt.badge.img+16
  • Valued Contributor
  • April 4, 2016

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


bpavlov
Forum|alt.badge.img+18
  • Esteemed Contributor
  • April 4, 2016

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).