I have been using Get-ADUser and Get-ADComputer a few times to help troubleshoot problems in the system.
I have seen a few ways of identifying which user is logged on a specific machine through either registry, PsLoggedon.exe and other scripts, but since I'm not really a network administrator, I often get access denied. Which is fine because I'm not really interesting in digging that deep.
All I need is to somehow identify which users have an account (profile) on a machine (or which machines have a user account) so I can contact them and help them whenever an exception is coming from their ip address.
Is there absolutely no relationship between these two objects out-of-the-box?