Get PSU App web client IP address

Product: PowerShell Universal
Version: 1.4.6

Is there support to retrieve the IP address of the clients current session?

You can use the $RemoteIpAddress value to get this.

This was returning a value that looks like ipv6 and ipv4. I cleaned it up like this:

$ipv4Address = $RemoteIpAddress -replace "^::ffff:", ""
New-UDAlert -Severity 'info' -Text ("Client IP: " + $ipv4Address)
1 Like