So ya need to see what patches are applied to a few remote systems? Here’s a quick method using a VB script to do just that. The first batch file is just to get Script Zombie to execute the VBScript using cscript. runPatchHist.cmd @echo off echo. echo […]
Read more →One common tool I need in scripts is the ability to time/date stamp a file. The example below shows a simple method for adding time and/or date information to the end of a log file: @echo off Echo [-] Echo [+] Set Date/Time Variables Echo [-] Echo. Set […]
Read more →As promised here is a quick write up on how I am doing security patches for our servers. Basically I am able to run the script during normal work hours and schedule the patching for the evening. At night when the patching starts I get email notifications […]
Read more →Below is an example how you can restart a service on one more many systems using Script Zombie as the controlling application: @echo off Echo. Echo Remotely Restart a Service Echo ————————– sc \\%1 stop servicename sc \\%1 start servicename In this example we use SC.exe (Service Control) to first stop […]
Read more →From time to time you need a method to create and test for the existence of a zero byte file in your scripting. I use these files as flags, so that I know if an earlier prerequisite process completed successfully. Creating the zero byte file is a simple […]
Read more →When using Script Zombie to apply system/security patches I was frequently checking WindowsUpdate logs on the remote systems. To help automate the process I create the simple script below. If ran from Script Zombie it will display the WindowsUpdate.log file in notepad for every workstation you have selected in the host list. […]
Read more →