I need to make a script that automates the following:
- Read comma or tab separated values from the input file
- Construct a command from them and run it
- Get the command output, looks for substrings in it and update the log file based on the existence of a substring
I do this in Windows Server 2008, so I can do this in CMD or PowerShell but I am not sure they provide such possibilities. I can try Perl or C#, but I want to try a minimalistic approach first.
Minimalistic as far as coding – Perl
Minimalistic as far as installing new software – PowerShell (IIRS W.S.2008 included that?)