But At Least Now We Can Do Something About Calculating the Last Logon Time
To minimize domain wide replication for every logon, lastLogonTimeStamp is updated periodically. The default interval is a random number from about 10 to 14 days
ADO is an acronym for ActiveX Data Objects. ADO provides Active Directory query technology to VBScript (and VB) using the ADSI OLE-DB provider. Searches using ADO are only allowed in the LDAP namespace.
Active Directory searches using ADO are ver
When you user the DSQUERY command to return the sAMAccountType attribute, it is returned as a numeric value.
I have scripted sAMAccountType.bat to translate this value.