In order to change the hostname of a linux machine, you'd do something like this
echo -n newHostname > /etc/hostnameTo do the same thing in Windows from the CLI you first have install netdom.exe from the installation CD (it doesn't install by default), and then issue the following command
netdom renamecomputer machine /newname:new_computername /userd:domainname\administrator_id /passwordd:* /usero:local_adminWhich OS was supposed to be easier to use and administrate again?
/passwordo:* /reboot:seconds before automatic reboot
Now, the enterprising Windows users who might be reading this may counter and say "you can do this very easily under Computer Management". They would be correct, you can point and click your way in to changing the hostname and restarting in about 20 clicks. But try doing that over 50 or some servers and let me know how your RSI is treating you if you continuously use that as your mechanism for administrating your systems.