OSQuery

http://sysadvent.blogspot.com/2014/12/day-3-so-server-tell-me-about-yourself.html