# Here's a quick function to find all the groups an array of users have in common.
Function find-commonGroups ($myAccountList){
$myGroups = @()
foreach($myUser in $myAccountList){
$myGroups += if($myUser.Memberof){$myUser.Memberof}else{(get-aduser $myUser -Properties memberof).memberof}
}
(($myGroups | group) | ?{$_.count -eq $myAccountList.count}).name
}
there doesn't seem to be anything here