From http://community.spiceworks.com/scripts/show/1650-rename-ad-domain-computer-powershell