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

Taylor_Armstron
Valued Contributor

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 2

chriscollins
Valued Contributor

It doesn't pass any parameters to EAs.

Taylor_Armstron
Valued Contributor

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.