The below will create a TCP/IP printer port using PowerShell:
$server=”servername”
$printerip=”1.1.1.1″
$port = ([WMICLASS]“\\$server\ROOT\cimv2:Win32_TCPIPPrinterPort”).createInstance()
$port.Name=”IP_10.25.128.31″
$port.SNMPEnabled=$false
$port.Protocol=1
$port.HostAddress=$printerip
$port.Put()
$port
To Automate it somewhat you can feed the parameters into it using arguments, you can run the commands using excel and copy into a batch file.
# This script requires 3 paramaters at the command in the form:
# .\CreatePrinterPort.ps1 servername IPAddress PortName
$server=$args[0]
$printerip=$args[1]
$port = ([WMICLASS]“\\$server\ROOT\cimv2:Win32_TCPIPPrinterPort”).createInstance()
$port.Name=$args[2]
$port.SNMPEnabled=$false
$port.Protocol=1
$port.HostAddress=$printerip
$port.Put()
$port
After using the HP SmartStart 8.5 CD to clean install Windows 2008 to a ML350 G5 server I discovered I couldn’t log into the completed OS installation.
As soon as the brief moment of panic and anxiety went away I thought that maybe the password I used for the administrator during setup might have been to long (20 Characers). After truncating each character in turn I found that the password the SmartStart disc used was shorted to 14 characters.
When trying to install Office Sharepoint Server 2007 onto Windows 2008 R2 x64 you get the following error dialogue:
This program is blocked due to compatibility issues.
Program: Office Sharepoint Server 2007 – Please read Microsoft Knowledge Base article: 962935

Unfortunatly a quick search of the Microsoft site doesn’t yield this KB. If someone can find it please let me know and I’ll put a footnote to this post.
To fix this you are going to have to slipstream the Office Sharepoint Server 2007 SP2 into the CD or install files you are using.
1. Copy the Sharepoint CD to a folder on the Computer.
2. Download the releavant Service Pack 2 for the architecture you are using (64 bit in this case) from: http://www.microsoft.com/downloads/details.aspx?FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082&displaylang=en
3. Open a command prompt to the folder with the Service Pack 2 in it and type in the command: officeserver2007sp2-kb953334-x64-fullfile-en-us.exe /extract:c:\users\Administrator\Desktop\Sharepoint\x64\Updates
The path you extract to will most likly different depending on where you extracted the CD.

Note: According to http://technet.microsoft.com/en-us/library/cc261890.aspx you are supposed to delete a dll called Wsssetup.dll but I didn’t have this file in my updates folder or any other folder within the CD source so I ignored this step.
From here you should now be able to run the setup.exe from the root of your installation folder.