Skip to main content
Question

About Script


Forum|alt.badge.img+5

Hi guys,

I saw a script and the script is below. May I know what this script do? And can I add this script in jamf pro? Do I need to change any values or parameters in it before adding into jamf pro? Can you guys plz help me?

https://github.com/jamf/Jamf-Nation-Scripts/blob/master/Apple_Software_Update_Search_v2.sh

5 replies

Tangentism
Forum|alt.badge.img+10
  • Honored Contributor
  • 144 replies
  • October 18, 2021

1. On the github page, click 'Raw' in the top right hand corner

2. Save page as.... "Apple_Software_Update_Search_v2.sh"

3.Go to your Jamf instance: Settings > Computer Management > Scripts

4. Click the '+' in the top right

5. Copy the contents of the script (open it in your favourite text editor) into the main window

6. Enter the name of the script in the title bar

7. Click onto the 'Options' Tab

8. Paste the following into parameter fields 4: "Update Selection (Required)"

9 Paste the following into parameter fields 5, 6 & 7: "Update Selection (Optional)"

10. Click save in the bottom right

 

The script requires that you provide at least one parameter of an item that you want it to check if there's an update. You can add these parameters when you attach the script as a payload in a policy.

I suggest that you spend some time working through these online videos that Jamf have provided as you have asked this same question twice on this forum. I think you need to learn some of the fundamental concepts that these videos convey:

https://trainingcatalog.jamf.com/


Forum|alt.badge.img+5
  • Author
  • Contributor
  • 63 replies
  • October 18, 2021
Tangentism wrote:

1. On the github page, click 'Raw' in the top right hand corner

2. Save page as.... "Apple_Software_Update_Search_v2.sh"

3.Go to your Jamf instance: Settings > Computer Management > Scripts

4. Click the '+' in the top right

5. Copy the contents of the script (open it in your favourite text editor) into the main window

6. Enter the name of the script in the title bar

7. Click onto the 'Options' Tab

8. Paste the following into parameter fields 4: "Update Selection (Required)"

9 Paste the following into parameter fields 5, 6 & 7: "Update Selection (Optional)"

10. Click save in the bottom right

 

The script requires that you provide at least one parameter of an item that you want it to check if there's an update. You can add these parameters when you attach the script as a payload in a policy.

I suggest that you spend some time working through these online videos that Jamf have provided as you have asked this same question twice on this forum. I think you need to learn some of the fundamental concepts that these videos convey:

https://trainingcatalog.jamf.com/


Hi Tangentism,

Is this correct?

I am getting https://trainingcatalog.jamf.com/ error like server error. What should i do now?


Tangentism
Forum|alt.badge.img+10
  • Honored Contributor
  • 144 replies
  • October 18, 2021

The manual describes outlines what I described by using the Jamf Admin application: https://docs.jamf.com/10.32.0/jamf-pro/administrator-guide/Scripts.html

 

As for the website not loading, I have no idea as thats quite a vague error. Try this link and you can dig in from there: https://www.jamf.com/training/online-training/


Forum|alt.badge.img+5
  • Author
  • Contributor
  • 63 replies
  • October 18, 2021
Tangentism wrote:

The manual describes outlines what I described by using the Jamf Admin application: https://docs.jamf.com/10.32.0/jamf-pro/administrator-guide/Scripts.html

 

As for the website not loading, I have no idea as thats quite a vague error. Try this link and you can dig in from there: https://www.jamf.com/training/online-training/


I am using jamf pro, so i cant add this script(https://github.com/jamf/Jamf-Nation-Scripts/blob/master/Apple_Software_Update_Search_v2.sh)

in jamf pro? Can you tell what is the meaning of this script? It is about security updates to install the latest version?


Forum|alt.badge.img+5
  • Author
  • Contributor
  • 63 replies
  • October 20, 2021
Tangentism wrote:

The manual describes outlines what I described by using the Jamf Admin application: https://docs.jamf.com/10.32.0/jamf-pro/administrator-guide/Scripts.html

 

As for the website not loading, I have no idea as thats quite a vague error. Try this link and you can dig in from there: https://www.jamf.com/training/online-training/


Hi Tangentism,

Can you plz tell me that the above script can be used in jamf pro??


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings