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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)