Machine accounts

  • Thread starter Thread starter Nicholas Aquilina
  • Start date Start date
N

Nicholas Aquilina

Hi,

Does anyone have an idea on how to check when a machine was last used on the
domain?

Thanks
 
If you use LDIFDE, it will returns some cryptic numbers in Integer8 format.
Instead you can write a simple script to retrieve this property.

Set obj = Getobject("LDAP://CN=machine_name, OU=server, DC=domain, DC=com")
MsgBox obj.LastLogin

Add a for loop plus some creativity and you could do much more with it.
 
Back
Top