lib/taste_tester/host.rb
# Sources must be 'registered' with the Eventlog, so check if we have
# registered and register if necessary
Sources must be 'registered' with the Eventlog, so check if we have
registered and register if necessary
Sources must be ' registered ' with the Eventlog so check if we have registered and register if necessary
def create_eventlog_if_needed_cmd
      get_src = 'Get-EventLog -LogName Application -source taste-tester 2>$null'
      mk_src = 'New-EventLog -source "taste-tester" -LogName Application'
      "if (-Not (#{get_src})) { #{mk_src} }"
    end
def create_eventlog_if_needed_cmd get_src = 'Get-EventLog -LogName Application -source taste-tester 2>$null' mk_src = 'New-EventLog -source "taste-tester" -LogName Application' "if (-Not (#{get_src})) { #{mk_src} }" end
Sources must be 'registered' with the Eventlog, so check if we have
registered and register if necessary
Sources must be ' registered ' with the Eventlog so check if we have registered and register if necessary