My site got hacked and I had an online service clean it out. However, it now has over 150,000 user accounts, the bulk of which have no role assignment. How do I delete these accounts and their content?
PS: Drush solutions are appreciated and welcome, but for now I would prefer non-Drush answers.
I tried suggestion 1 at How to delete 'blocked' users in bulk? but both options are time consuming and the VBO module seemed to hang. Suggestion 2 seems to be the fastest option, but the /core/modules/user/user.admin.inc file doesn’t exist in Drupal 8.7.