Archive for the ‘Workstation’ Category

Automated Windows Security Patching

This item was filled under [ Patching, Server, Tools, Workstation ]

As promised here is a quick write up on how I am doing security patches for our servers now. 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 with success/fail information for each server. I have been using this process for 3 or 4 months now and it’s working great.

Continue reading...

Checking Patch History on a Remote System

This item was filled under [ Patching, Workstation ]

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 -Patch History for (%1)
echo.
cscript scripts\helpers\patchHistory.vbs %1

Continue reading...

Tagged with: [ , , , ]

Date Stamping Files in a Script

This item was filled under [ Tools, Workstation ]

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:

Continue reading...

Tagged with: [ , , ]