vbscript code to read input from text file avoiding manual efforts
I am drilling down Internet to get Vbscript code, where input is read from text file one per line and pass it to the commands in script. I am just a beginner and need help with this. Basically I am gathering script to get pending patches of servers in our environment. The script looks like below: '# '# ServerPendingUpdates.vbs '# '# Usage: cscript ServerPendingUpdates.vbs {servername} {servername} {servername} {servername} '# If no {servername} specified then 'localhost' assumed '# '# To do: Error handling '# Option Explicit Dim strServer : strServer = GetArgValue(0,"localhost") '# '# Loop