Sort Scripts in the JSS

alemiere
New Contributor

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 2

rtrouton
Release Candidate Programs Tester

@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/j...

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

https://github.com/sheagcraig/Spruce

geoffrepoli
Contributor

+1 for Spruce