How to extract a list of "copy password reset urls" for all users?
Given a list of elements/User that you want to get the password reset URL for, you can loop through them and call this for each one:

$url = Craft::$app-&gt;getUsers()-&gt;getPasswordResetUrl($user)'