I need a solution
I would like to make a task that can be issued against a machine and identify whether it is a Mac or Windows box. I'm not so worried about what version of each, but more so just the two. I've tried a few different things, on of which was a SQL Query task. Thus far I've not managed to get one working. I wanted to know if anyone has a solution for this, or even just thoughts on other avenues to accomplish this.
My end goal is to have a task that I can use the result from as a condition in a job to determine whether it should run Mac specific tasks or Windows specific tasks on a system. This way we can have one job that will act appropriately regardless of what the system actually is.