The below PowerShell script will Add an Active Directory Domain Group to Computer Local Administrators Group.

#!powershell

# Setup Key Values
###################################
$GrouptoAdd = “YourGroupName”

# Adding Domain Group to Local Administrator Group
##################################################
write-host ” ”
write-host “Adding Domain Group $GrouptoAdd to Local Administrator Group” -ForegroundColor Yellow
write-host ” “

$GroupObj = [ADSI]”WinNT://localhost/Administrators”
$GroupObj.Add(“WinNT://knowledgeascent.com/$GrouptoAdd”)