Skip to main content
Question

Sort Scripts in the JSS

  • July 3, 2017
  • 2 replies
  • 11 views

Forum|alt.badge.img+2

Hello all,

Is there a way or a script to locate current scripts that are mapped to a policy?

I need to sort out and remove old scripts which are no longer mapped to a policy.

Thanks in advance

2 replies

Forum|alt.badge.img+33
  • Hall of Fame
  • July 3, 2017

@andrewseago has a script that can assist with this. It's available on GitHub at the following address:

https://github.com/andrewseago/Public-Scripts/blob/master/JSS%20Reporting%20Scripts/JSS_Used_Files/jss_Used_Files.sh

Another tool that can be used to identify unused script is Shea Craig's Spruce tool:

https://github.com/sheagcraig/Spruce


Forum|alt.badge.img+7
  • Contributor
  • July 3, 2017

+1 for Spruce