Script Download: AddComputerToGroup(PowerShell).zip
http://gallery.technet.microsoft.com/scriptcenter/Auto-adding-computer-to-AD-6ffa96bb
The goal of this script is adding computer to AD groups during deployment.
There are many scenarios where there is a need to add a computer to an AD-group during deployment, for instance to enable the computer to use a wireless network or adding the computer to an application group.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery