Script to match string value (line) in text file

Checks to verify the text string specified is present in a text file. Script requires string match on full line in the file. Was originally wittento read an .ini file, but works with any plain text file.Designed to be used in OpsMgr 2007 or Essentials 2007/2010 in a two-state monitor.

For steps to implement a custom two-state monitor, see

How to create a Script-based 2-State Monitor