Expire password of admin users in Moodle

Job ID: 33754777

Budget: $20 – $30 AUD

I need a script that can be used with cron to expire the password of all admin users in Moodle.

After the password is expired, those users should be able to change their password on the next login using their old password.

Thanks
Related categories: PHP HTML Moodle PostgreSQL