Nerd-cen-tric, adj. 1. Holding the view that technology is the center, object, and norm of all experience.

Archive for the Knowledge Base Category

CNames, Print Servers, and Windows 8

Ran into an interesting problem today with Windows 8, Printers, and CNames.  We have a Windows 2008R2 print server and when Windows 8 clients would attempt to connect to a printer via the AD Directory they would get a generic error stating: “Windows couldn’t connect to the […]

Read more

IPBX Ctrl Script to Enable Telnet

If you do any type of regular troubleshooting on ShoreTel platform one command you are constantly executing is  ipbxctl.  For those new to the ShoreTel platform, you cannot telnet to a remote ShoreGear device without first enabling telnet from your HQ server. To simplify the process I […]

Read more

Schedule a Server to Email Event Logs

I recently needed to setup a way to email a weekly summary of event logs, here’s how I did it: Powershell Script to Export Events  Get-Eventlog -log WebEventLog -after ((get-date).addDays(-7)) -EntryType Error, Warning | export-csv “C:\scripts\sysevents.csv” Email .csv File (emailEvents.ps1) Send-MailMessage -To -From “” -Subject “[WebEventLog] […]

Read more

Checking Patch History on a Remote System

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

Date / Time Stamping Files

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

Scripted Windows Security Patching

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

Restarting a Service

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

Creating a Zero Byte File

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

Checking WindowsUpdate.log

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

Nerdcentric Twitter Feed