QuickTip: Get the current logged in User of a Windows PC

I just had to check which user was logged in on a specific PC
Here is the Powershell One-Liner:

Get-WmiObject -Class win32_computersystem -ComputerName PCNAME | select username

where PCNAME is the placeholder for the name of the PC
Another option would be to remotely check the security event log and search for the last login event.