<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>Nerdcentric.com</title>
	
	<link>http://www.nerdcentric.com</link>
	<description>Home of Script Zombie</description>
	<lastBuildDate>Tue, 17 Nov 2009 17:35:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Nerdcentriccom" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="nerdcentriccom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Nerdcentriccom</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Automated Windows Security Patching</title>
		<link>http://www.nerdcentric.com/?p=178</link>
		<comments>http://www.nerdcentric.com/?p=178#comments</comments>
		<pubDate>Tue, 17 Nov 2009 17:14:25 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Patching]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Workstation]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[scriptzombie]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wuinstall]]></category>
		<category><![CDATA[Zombie]]></category>

		<guid isPermaLink="false">http://www.nerdcentric.com/?p=178</guid>
		<description><![CDATA[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.]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=178</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script Zombie v0.85 Released</title>
		<link>http://www.nerdcentric.com/?p=104</link>
		<comments>http://www.nerdcentric.com/?p=104#comments</comments>
		<pubDate>Fri, 22 May 2009 04:17:04 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Zombie]]></category>

		<guid isPermaLink="false">http://www.nerdcentric.com/?p=104</guid>
		<description><![CDATA[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&#8211;worse, it could have involved visits to individual systems.  Here lies the problem, [...]]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=104</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Zero Byte Files/Flags</title>
		<link>http://www.nerdcentric.com/?p=114</link>
		<comments>http://www.nerdcentric.com/?p=114#comments</comments>
		<pubDate>Sun, 08 Mar 2009 04:42:58 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.nerdcentric.com/?p=114</guid>
		<description><![CDATA[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 &#8211; Check to see if the file [...]]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=114</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking Patch History on a Remote System</title>
		<link>http://www.nerdcentric.com/?p=134</link>
		<comments>http://www.nerdcentric.com/?p=134#comments</comments>
		<pubDate>Mon, 09 Feb 2009 05:01:11 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Patching]]></category>
		<category><![CDATA[Workstation]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[vbs]]></category>

		<guid isPermaLink="false">http://www.nerdcentric.com/?p=134</guid>
		<description><![CDATA[So ya need to see what patches are applied to a few remote systems?  Here&#8217;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

patchHistory.vbs
&#8216;Get passed hostname from Script Zombie
remoteSystem = [...]]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=134</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Date Stamping Files in a Script</title>
		<link>http://www.nerdcentric.com/?p=94</link>
		<comments>http://www.nerdcentric.com/?p=94#comments</comments>
		<pubDate>Thu, 02 Oct 2008 00:29:13 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Workstation]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://www.nerdcentric.com/?p=94</guid>
		<description><![CDATA[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 day=%DATE:~0,3%
Set mm=%DATE:~4,2%
Set dd=%DATE:~7,2%
Set yyyy=%DATE:~10,4%
Set hour=%time:~0,2%
if &#8220;%time:~0,1%&#8221;==&#8221; &#8221; set hour=0%hour:~1,1%
Set min=%time:~3,2%
Set sec=%time:~6,2%
echo Here&#8217;s a sample [...]]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=94</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking WindowsUpdate.log</title>
		<link>http://www.nerdcentric.com/?p=89</link>
		<comments>http://www.nerdcentric.com/?p=89#comments</comments>
		<pubDate>Wed, 01 Oct 2008 00:18:25 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Patching]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.nerdcentric.com/?p=89</guid>
		<description><![CDATA[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.  The output is filtered using FindStr to only [...]]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=89</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Inventory</title>
		<link>http://www.nerdcentric.com/?p=86</link>
		<comments>http://www.nerdcentric.com/?p=86#comments</comments>
		<pubDate>Tue, 30 Sep 2008 02:19:37 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Workstation]]></category>
		<category><![CDATA[inventory]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[vbs]]></category>

		<guid isPermaLink="false">http://www.nerdcentric.com/?p=86</guid>
		<description><![CDATA[This script is slightly more complicate than the others I have documented on this site.  In this example we are using Script Zombie to pass the hostname to a Visual Basic Script via the command line.  So there are two steps:
SoftwareInventory.cmd
@echo off
echo.
echo -Software Inventory Script for (%1)
echo.
cscript scripts\helpers\installed.vbs %1

Installed.vbs (http://www.mvps.org/scripting/people/bakkenalia.htm)
&#8216;  [installed.vbs]
 &#8217;   Run this script with [...]]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=86</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy File(s) to Remote Systems</title>
		<link>http://www.nerdcentric.com/?p=80</link>
		<comments>http://www.nerdcentric.com/?p=80#comments</comments>
		<pubDate>Tue, 30 Sep 2008 01:05:26 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Workstation]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[distribution]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.nerdcentric.com/?p=80</guid>
		<description><![CDATA[Below is a simple example of copying a file to multiple systems using Script Zombie.  In the example below &#8220;My File.exe&#8221; is copied to all systems selected in the Script Zombie host list.  Notice, like with other scripts the host name is passed via the %1 parameter.
@echo off
echo.
echo &#8211; Copies &#8220;My File.exe&#8221; to the C: root directory [...]]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=80</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restarting a service</title>
		<link>http://www.nerdcentric.com/?p=83</link>
		<comments>http://www.nerdcentric.com/?p=83#comments</comments>
		<pubDate>Tue, 30 Sep 2008 00:32:24 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Workstation]]></category>
		<category><![CDATA[restart]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[service]]></category>

		<guid isPermaLink="false">http://www.nerdcentric.com/?p=83</guid>
		<description><![CDATA[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 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
sc \\%1 stop servicename
sc \\%1 start servicename
In this example we use SC.exe (Service Control) to first stop the service and then restart it.  In this case %1 is [...]]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=83</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replication Using RoboCopy and Blat</title>
		<link>http://www.nerdcentric.com/?p=35</link>
		<comments>http://www.nerdcentric.com/?p=35#comments</comments>
		<pubDate>Thu, 25 Sep 2008 04:08:28 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[blat]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[robocopy]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.hakur.net/?p=35</guid>
		<description><![CDATA[What I like the most about this script is it create a date stamped log and mails the log to you if Robocopy exits with an error code.
@echo off
Echo.
Echo -Set Date Variables
Echo.
Set day=%DATE:~7,2%
Set mm=%DATE:~4,2%
Set dd=%DATE:~7,2%
Set yyyy=%DATE:~10,4%
robocopy &#8220;\\servername\source&#8221; &#8220;\\servername\destination&#8221; /E /V /LOG+:&#8221;d:\logs\robocopy_%mm%%yyyy%.txt&#8221; /r:0
if errorlevel 16 echo &#8211;Fatal Error&#8211; &#38; goto notify
if errorlevel 8 echo &#8211;Failed Copies&#8211; [...]]]></description>
		<wfw:commentRss>http://www.nerdcentric.com/?feed=rss2&amp;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
