Getting computer name of logged in user

Product: PowerShell Universal
Version: 1.4.6

I want to get the name of the computer used by the user to log in. Is there any way i can get this information? Thank you!

This isn’t possible due to limitations of the HTTP protocol. The best you could do would be to use the $RemoteIpAddress variable and attempt to resolve it to a host name within your network.