List authorized_keys for each user on the system.
To learn more about queries, check this guide
SELECT * FROM users CROSS JOIN authorized_keys USING(uid) WHERE username IN (SELECT distinct(username) FROM last);
PowerShell commands are currently work in progress, contributions welcome.