RemoteIP variable in authentication.ps1?

I noticed $RemoteIPAddress variable works in authentication.ps1. But it returns the IP of the local host machine instead of the remote public IP. Is this possible to implement or is there another way to accomplish this?

Product: PowerShell Universal
Version: 1.4.6