jjbova
08-15-2007, 04:33 PM
OK, I wasn't sure where to put this, but since it's VERY simple. I thought maybe I could get help....
As a back ground about me, I don't know programming. I know computers, I know hard ware, and I know alot of software... but programming is not my specialty. Either way, I am a System Admin, or a large company. My main section is the Antivirus for all the clients, and for the servers. As we get more and more workstations on the network (we are at a little over 5500 right now), more and more are needing manual updating. I am using PSTOOLS to push out my updates, however it is starting to take up alot of my time.
I have been trying to get a batch written that I can just run and it will push the update out to the 50+ computers that don't get the update. The problem I hit was.... is there a way in a batch file to just paste in my list of IP's and have the batch run the update on one, and then move to the next, and then the next..... until it's done.
This is all I have right now, and it works perfect if I put the ip where it says ~ip~.... but I am looking for a way to just paste in a list of IP's... any Ideas.
echo off
psexec \\~ip~ "C:\Program Files\Network Associates\VirusScan\mcupdate"
echo Finished
pause
exit
As a back ground about me, I don't know programming. I know computers, I know hard ware, and I know alot of software... but programming is not my specialty. Either way, I am a System Admin, or a large company. My main section is the Antivirus for all the clients, and for the servers. As we get more and more workstations on the network (we are at a little over 5500 right now), more and more are needing manual updating. I am using PSTOOLS to push out my updates, however it is starting to take up alot of my time.
I have been trying to get a batch written that I can just run and it will push the update out to the 50+ computers that don't get the update. The problem I hit was.... is there a way in a batch file to just paste in my list of IP's and have the batch run the update on one, and then move to the next, and then the next..... until it's done.
This is all I have right now, and it works perfect if I put the ip where it says ~ip~.... but I am looking for a way to just paste in a list of IP's... any Ideas.
echo off
psexec \\~ip~ "C:\Program Files\Network Associates\VirusScan\mcupdate"
echo Finished
pause
exit