Skip to main content

Posts

Showing posts from November, 2015

Centralized async logging from VBS scripts

Borrow a page out of the snowplow book and log asynchronously from any script with a GET request to a central system. In Visual Basic Script: URLGet "http://your.server.com/action/" & WshNetwork.ComputerName & "/" & activity & "/message/" & strValue Function URLGet(URL) Set Http = CreateObject("Microsoft.XMLHTTP") Http.Open "GET",URL,True Http.Send End Function And get analytics for free on top of your scripts with logstash (or snowplow).