No it doesn't work and it gives me an error that the " : " should be " ; "
var oOutputFormat = new ActiveXObject("MSUtil.LogQuery.TemplateOutputFormat");
This works but it says error executing query no template file specified, I need to point out to the template but I don't know how.
Thanks