I am looking for A Powershell script to trigger a e-mail - when user will login through RDP - when user will logout RDP script must provide a easy way to configure smtp settings with authentication in the e-mail I must have this information "username" , "time", and "ip address" Script must work with Windows 7 - Windows Server 2008 - Windows Server 2012 Thanks