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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top