# Add user to a AD group

Write-Host '##########################################################################################'
Write-Host '#                                                                                        #'
Write-Host '#                                                                                        #'
Write-Host '#  You can add more than one user to a group by putting a "," between each account name  #' 
Write-Host '#                                                                                        #'
Write-Host '#                                                                                        #'
Write-Host '##########################################################################################'
$GroupName = Read-Host 'Please enter the Name of the group to add users into: '
$SAMAccount = Read-Host 'Please enter the SAM account name ( FirstName.LastName, FirstName.LastName,... ): '
Add-ADGroupMember $GroupName $SAMAccount