Domain Joined environments normally have root or other service only accounts and users are SSH-ing using their Domain Accounts.
To learn more about queries, check this guide
PowerShell commands are currently work in progress, contributions welcome.