Hey gang- Thought I had this one locked up, but was woefully incorrect.
I'm trying to put something in Self Service that allows a tech to input
a serial number and ticket number, and writes that into an extension
attribute for the record.Everything's...
Hi all,I've been handed a LONG list of Usernames, and I need to make a
list of any computer serial numbers associated with those Usernames.I'm
assuming this is a custom API call, does anybody have anything cooked up
and ready to go?Thanks!
Valid question- the idea is that a tech runs it from their Mac, so that
it doesn't have to be scoped to a user. This also cuts down on giving
unnecessary access to the JSS. So far it's been a hit. We have a Self
Heal in there, too.
This worked great- I did have to change the line with xpath to:xmllint
--xpath "//users/user/links/computers/computer/id" -for it to work, but
otherwise was great! Thanks so much.