Get a list of active users is pretty trivial with powershell, however with multiple AD controllers, things become more complicated. There are effective two fields LastLogon and LastLogonTimestamp. Depending on replication and AD server, the values may be different. The…