login and logff RRS feed

  • Question

  • Hi All,

    In my environment there are few terminal servers running with Windows 2018 R2.

    I need to collect the data who all are the users are logged in and how long they are working in TS.

    In even log I could see logs 4624 logon  and 4647 (Logoff) and 4634 (logoff).

    Using event log I need collect working hours for each user on daily basis for particular server.

    Please help me on the script to generate a report in CSV.

    Wednesday, April 11, 2018 8:47 AM