View local/remote inventory with Swift Dialog interface

ScottEKendall
Contributor

Hey Gang!  Back again...  This time, I have been digging into the JAMF API and exploring what can be done with it.  I came up with a script to view a users local computer record or view any JAMF record.  I really don't want our help desk team going into the server to retrieve info, so I came up with this.  This is only the start of what can be done, but it has been a learning experience to say the least.

Script can be found here: https://github.com/ScottEKendall/JAMF-Pro-Scripts/tree/main/ViewInventory

 

You can set this up via SS to have it display the local or remote option.  If you choose to view remote devices, you will be presented with an entry screen for serial # or hostname:

ViewInventory_Entry.png

and the results screen of a remote inventory

ViewInventory_Remote.png

If you choose to display the local record (no entry screen)

ViewInventory_Local.png

and finally, the script parameters to make it all happen

ViewInventory_Parms.png

Let me know if you find it useful or any better ways to pull this info via API calls!

5 REPLIES 5

scottb
Honored Contributor

This looks pretty cool!  Have to check it out, but thank you for sharing!

Hey @ScottEKendall  - some really cool scripts in your git!  

I actually have some needs and there's a few that will be very useful!  Thanks for sharing...

 

Scott

Jordy-Thery
Contributor II

This looks cool @ScottEKendall

scottb
Honored Contributor

@ScottEKendall  - just noticed a little issue on your git:

The "Remove Office" script is the same as the "Nuke Adobe".

I was wondering why it wasn't showing my Office apps when I ran it!  😀

Oh. Will have to take a look at that. Thanks.

Get Outlook for iOS<>

dletkeman
Contributor III

Keep up the good work @ScottEKendall !