Script Zombie v0.83 Released

This item was filled under [ Software ]

Batch files and scripts are crucial tools for Windows Systems Administrators. Think of the last time that you needed to touch multiple systems in your Windows infrastructure. If you were lucky it involved running a script pulling workstation names from a text file–worse, it could have involved visits to individual systems.  Here lies the problem, the traditional scripting functionality in Windows is robust but the limitations start becoming obvious when you involve multiple remote systems. 

Enter Script Zombie. This powerful tool, provided free of charge by Nerdcentric Software, allows for advanced functions like spawning a script to 10 remote systems at once. The ability to check network connectivity, pull system information, restart systems, remote desktop, and even check the event viewer on a single or many systems with a few clicks.  All of these features without needing a client installation on the remote machine. Continue reading…

Tagged with: [ , , ]

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: [ , , , ]

Zero Byte Files/Flags

This item was filled under [ Server ]

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 process:

@echo off
echo.
echo - Check to see if the file is already present
echo.
if exist C:\somedirectory\flag.txt goto Halt
echo - Creating flag.txt
type nul>C:\somedirectory\flag.txt

:Halt
echo.
echo - Flag file already present, halting.

So now to check for the flag before completing your dependent process do an “if” statement similar to this:

Continue reading…

Tagged with: [ ]