Login Event Data

I’m trying to push all PSU login information to a csv file. As of now I can capture the Username with the $Data var. Is there any way to capture the Ip address of the system doing the request? I am using Windows Authentication as the login method.

Product: PowerShell Universal
Version: 3.0.0

Should be able to use $RemoteIpAddress

Trying to do it with PSU Triggers “UserLogin” I did try to use those vars but they dont want to work outside of API calls.

Looks like you are correct. I thought I had tried that in the past, but I may be misremembering.