mirror of
https://github.com/MLBZ521/MacAdmin.git
synced 2026-02-03 14:03:26 +00:00
Adding query to get where a script is used
This commit is contained in:
@@ -179,3 +179,13 @@ WHERE
|
||||
)
|
||||
;
|
||||
|
||||
|
||||
-- ##################################################
|
||||
-- Get where a script is used
|
||||
select policy_id
|
||||
from policy_scripts
|
||||
where script_id = (
|
||||
select scripts.script_id
|
||||
from scripts
|
||||
where scripts.file_name = "<name of script>"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user