Google Workspaces (g-suite): How to filter users by email domain?
Solution 1:
not sure it is usefull for you but you can download all your user info into a Google Sheet...then you can use formulas to select only the users you want.
pro-tips: when you have your user in a Sheet you can export to csv and change what you want with GAM (admin command line for Google Workspace, see here : https://github.com/jay0lee/GAM)
command for GAM is (with 2 columns "olduseraddress" and "newuseraddress")
gam csv mylist.csv gam update user ~olduseraddress email ~newuseraddress