Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Scripting Remote Windows Updates

$
0
0

Windows 2008R2

OK, I have to install updates regularly on two servers.  It is a delicate if monotonous task.  I have to shut off all the services, and then patch one and then after the DB comes back, patch the other.  So, I whipped up a batch file to do all the error checking and run the commands, but I have found that the VB script I found online to run patches will not work with PSexec.  So all those details for a simple question;

I need a command level script (cmd, ps, vb, etc) to be able to download and run updates on a remote server.

or if you have a better idea of how to automate

stop service server 1

stop service server 2

path and reboot Server 2

validate service on server 2

patch and reboot Server 1


BlankMonkey



Viewing all articles
Browse latest Browse all 15028

Trending Articles