query computer name by AD account

Is there a way to query/check what was the computer name to which a particular AD account was last logged on?

Do you use SCCM in your environment ? If so this may provide an audit of where the user logged in.

with that list to see the current logged in user run this

Get-CimInstance –ComputerName CLIENT1 –ClassName Win32_ComputerSystem | Select-Object UserName

Or you can crawl the security logs on you DC’s

Please follow the How-to article for step-wise instructions - How to track user logon sessions using event log - Active Directory & GPO - Spiceworks

This may also help Solved: PowerShell Script to get Last Logon of User | Experts Exchange

The other option apart from above is to use logon scripts and write to a hidden share somewhere the computer name, username, logon time etc