How to reset passwords for all users on a network using wp cli

A simple solution is:

wp user reset-password $(wp user list --field=user_login)

got that from forcing all plugins update after a minor takeover:

wp plugin install $(wp plugin list --field=name) --force

Leave a Comment