rbjseaGood point, I'll look into that. In the mean time, i changed the "else" portion of the script to write a directory, but then left the parameter blank. That made it fail!
Seems like it should be something straightforward to change for Kaseya. What I'd love is a section in the audit you can customize, like assigning roles you can then query in your view. Durring the audit, it can auto-populate some of the obvious ones (workstation, DNS server, perhaps even Exchange) and then you can check additional resources / services as you Need.
Ahh well, Perhaps in Kaseya 7
rbjseaThanks for the DC tip Michael!
I'll check again on the Exchange, but when I tried various registry keys it always came back with other servers that had Exchange tools on them but wern't Exchange servers. Perhaps I missed something?
netconfigAs an addition to Ssugars bit above (and thanks this was really a great help) you can further separate exchange version 2003 and 2007 with a version string of 7 for 2007.