I've got a domain controller (only one) with Win Srv 2012 and a number of workstations with Win 7. I need to run a task on a DC straight after domain user logon/off/sleep/wake to a workstation. The script is a powershell script that inserts data into SQL - data is to be used as a work time report.
What trigger should I use to get that?
Regards, Przemek