We are trying to author a report that shows which printers are deployed by which Configuration Profiles. We are doing this with a direct database query. Does anyone know which tables I should be looking at? The OS_X_Configuration_Profile... tables do not seem to include any payload information, but in the console when looking at the configuration profile information that information is there, so there must be somewhere in the db to query for it I would think.
Any ideas? The JSS is a Windows server btw, though I would think that would not matter.