everything-powershell.com
Exchange 2010/2013/2016:- Get last logon time for mailbox in an OU - Everything-PowerShell
In exchange, many commands are directed at all mailboxes in the environment, but there is a time when you only want info on a specific organizational unit (OU).