Patrick Gruenauer wants to monitor login activities:
Domain-Controllers monitor successful logon attempts by default. All events of all login attempts are logged in the Event Viewer. In this article I will cover how to monitor all logon events with PowerShell. Let’s dive in.
Check out Patrick’s solution and also the solution that Olivier has put together in the comments.