How to get AD users logon/off sessions?

Hi,

Is there a query/cmdlet where I can get AD users logon/off sessions? Basically I’m require to generate users list of users login activities in a month. I need the logon sessions not the lastlogintime.

Please advise. Thank you.

You may have to search the security logs from domain controllers for the events that correspond to logon activities.