       } , (error, records) ->
         callback(error, records)
 
-  getAdapterConfigs = (callback) ->
+  getAdapterConfig = (callback) ->
     wmic 'Win32_NetworkAdapterConfiguration',
       ['Index', 'IPEnabled', 'DefaultIPGateway'], (error, records) ->
         callback(error, records)

net = require('net')
parseCSV = require('csv-parse')
exec = require('child_process').exec
async = require('async')

collector = (callback) ->

      (index, callback) ->
        getInterface index, (error, name) ->
          callback(error) if error?
          callback(null, {index: index, name: name} )
      (error, ifaces) ->
        callback(error) if error?
        data = {}
