AndrewB
The query allows you to check macOS systems for local administrator accounts.
To learn more about queries, check this guide
SELECT uid, username, type FROM users u JOIN groups g ON g.gid = u.gid;
PowerShell commands are currently work in progress, contributions welcome.