Monday, November 11, 2013

Preparing Windows 2008 for NetQoS Installations

UPDATE: I've added the ability to disable IPv6 and configure SNMP with default settings (public community string and access from any host). I've also corrected the spelling in two places.

UPDATE: There have been several changes lately that I haven't published out here on the blog.  Suffice it to say that you can now re-run the script and choose which parts to run and which parts not to run.  You are prompted with a yes/no dialog before each section of the script runs.  Also, the .Net 4.0 uninstaller now runs as a part of the script.  It runs right before Windows Updates and will reboot if .Net 4.0 is uninstalled.  You'll need to rerun the script if you want it to run Windows Updates for you.
I've got some ambitious plans for the next version.  I want the script to allow you to run it once manually and it will create a response file.  That response file can then be used to repeat the script on any number of servers.  So, if you want to only run certain parts, the first time you manually run it will create an output file with that info.  Then you can use that output file as an input for future runs.  This should make preparing a bunch of w2k8 servers easier.

There are a bunch of things that have to be done to a Windows 2008 server before the NetQoS software can be installed.  Being the efficient (aka lazy) engineer that I am, I decided to script the whole thing.  Here are each of the pieces of my script.  Download the whole thing here.  If you want to run the script without copying and pasting each piece, you must run 'set-executionpolicy remotesigned -forced' first.  Otherwise powershell doesn't allow the script to run.  I usually copy and paste each part so I see each part as it happens.

No comments:

Post a Comment