[Script Of Mar. 27] How to get all Active Directory users account last log on time and export Excel
The script is available for download from https://gallery.technet.microsoft.com/scriptcenter/How-to-get-all-Active-832ca0c5.
The sample code demonstrates how to get all Active Directory users account last logged on time.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery