Modification in scripts posted here.
I have made a mistake for all the scripts posted here. The variable posted here for all the scripts (srvlist=c:\temp\srvlist.txt) is not the one I intended to write in the script. The exact variable should look like below:
I will replace script variable in all when I get enough time to do so.