This script will pull the computer's serial number from the BIOS. It then will make sure that it fits within all NetBIOS rules and then rename the computer. This is very nice for large number of computers. It is easy to push using a Task Sequence or just running the script itself. It will even work on VMWare machines. This script is setup for Powershell 2.0 but the Powershell 3.0 is just a small change and I should be posting that one as well.