Just use unxutils grep. Just a single executable. So if I understand correctly do something like for linux. For windows use powershell maybe. That is only powershell.
Code:
for i in $(cat usernamelist); do grep $i user:hash; done
Code:
foreach ($i in (Get-Content .\userlist)) {Select-String $i .\user:hash}