From 1527dc7bd8f633dcdf65847eaa4485fac33f5edf Mon Sep 17 00:00:00 2001 From: Zack T Date: Thu, 7 Mar 2019 22:22:40 -0700 Subject: [PATCH] Miscellaneous SQL Queries Miscellaneous SQL Queries --- Jamf Pro/Reporting/Query_Miscellaneous.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Jamf Pro/Reporting/Query_Miscellaneous.sql diff --git a/Jamf Pro/Reporting/Query_Miscellaneous.sql b/Jamf Pro/Reporting/Query_Miscellaneous.sql new file mode 100644 index 0000000..826e5b2 --- /dev/null +++ b/Jamf Pro/Reporting/Query_Miscellaneous.sql @@ -0,0 +1,13 @@ +# Queries on Miscellaneous Configurations +# Most of these should be working, but some may still be a work in progress. +# These are formatted for readability, just fyi. + +################################################## +## Printers + +# Unused Printers +select distinct printers.printer_id, printers.display_name +from printers +where printers.printer_id not in ( select printer_id from policy_printers ); + +# Another Query to check configuration profiles would likely be useful