Skip to main content
Question

Using $1/$2/$3 in EA's

  • February 5, 2018
  • 2 replies
  • 13 views

Forum|alt.badge.img+15

Just curious - are the $1/2/3 JAMF defaults for scripts also the same in EA's? Unable to find confirmation in the admin guide. I've been working on an EA that used $2, but while it seems to work when run locally with the value hard-coded, is failing to return a value in the EA. Just trying to track down where the issue might be. I'm able to work around it with a "hostname -f" command, just surprised it didn't work as I expected.

2 replies

Forum|alt.badge.img+16
  • Honored Contributor
  • February 6, 2018

It doesn't pass any parameters to EAs.


Forum|alt.badge.img+15
  • Author
  • Valued Contributor
  • February 6, 2018

Thanks Chris - thought I remembered seeing somewhere that it could be used, but couldn't find my source, so appreciate the confirmation. "hostname -f" got me what I needed.