Ryan Bennett
asked on
One more question for SteveGTR...............
I know you're porbably sick of me by now. Any way you wrote and re-wrote this script for me over the last few days.
https://www.experts-exchange.com/questions/22830195/Question-for-SteveGTR-Add-keys-to-registry-incrementally-rework.html
In going through email for this trusted server deal, I can see that I now have a hand full of IPs that will need to added to each of my machines. My question is can you once again add another function into this script to maybe parse a text file that would have a list of IP address that will need to be added to every machine? IE. read the first IP in the file then preform your script just as it is now, then move to the next line in the text file then prefrom your script and so on until there are no more IPs to process.
Or maybe you would have an easier idea than this?
Thanks in advance,
RBennett
https://www.experts-exchange.com/questions/22830195/Question-for-SteveGTR-Add-keys-to-registry-incrementally-rework.html
In going through email for this trusted server deal, I can see that I now have a hand full of IPs that will need to added to each of my machines. My question is can you once again add another function into this script to maybe parse a text file that would have a list of IP address that will need to be added to every machine? IE. read the first IP in the file then preform your script just as it is now, then move to the next line in the text file then prefrom your script and so on until there are no more IPs to process.
Or maybe you would have an easier idea than this?
Thanks in advance,
RBennett
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I didn't mention it but the batch processing will accept the IP file name as a parameter. If none is specified then ipList.txt will be used.
ASKER
Absolutly wonderful !.... You turely make it look so easy, 7 minutes with the answer ....wow.
Once again thanks for all your help.
Ryan.
Once again thanks for all your help.
Ryan.
Glad to help :)