Script Download: GetRDPIPAddress.zip
http://gallery.technet.microsoft.com/scriptcenter/Collect-RDP-logon-entries-dc3e19d0

This script demo shows how to collect RDP logon entries from which computer’s IP address.

This script will automatically collect all Remote Access requests coming from which computer (indicate IP address, Time) in a period of time. It will simplify the administration which ensures all RDP connections are authenticated from safe workstation and IP address.

image image
image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery