I'm getting the computer "lastlogin" attribute, which as I
understand it is the most recent time that the workstation authenticated to a
domain controller. I believe the oldest this timestamp would be is the last time
the machine started up. Also, lastlogin is not a replicated attribute, so you
have to check either all of the domain controllers or at a minimum all of the
domain controllers in the workstation's site in order to get an accurate value.
I'll send you a copy of the script separately.
Hunter From: Glenn Corbett [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 7:28 PM To: [EMAIL PROTECTED] Subject: Re: [ActiveDir] LDAP & LastLogin for Computers Hunter,
Are you actually querying the workstation, or just
the user accounts ? If your finding out when a computer was last logged onto, I
would LOVE to have a copy of the script as well (so I can kick our desktop
support guys in the bum to clean up *MY* AD) *grin*
Glenn
|
Title: LDAP & LastLogin for Computers
- RE: [ActiveDir] LDAP & LastLogin for Com... Robbie Allen
- RE: [ActiveDir] LDAP & LastLogin fo... Roger Seielstad
- RE: [ActiveDir] LDAP & LastLogin fo... Steve Rochford
- Re: [ActiveDir] LDAP & LastLogin fo... Coleman, Hunter
- Re: [ActiveDir] LDAP & LastLogi... Glenn Corbett
- RE: [ActiveDir] LDAP & LastLogin fo... England, Christopher M
- RE: [ActiveDir] LDAP & LastLogin fo... Coleman, Hunter
- RE: [ActiveDir] LDAP & LastLogin fo... Coleman, Hunter
- Re: [ActiveDir] LDAP & LastLogi... Glenn Corbett
- Re: [ActiveDir] LDAP & Last... Jan Wilson
- Re: [ActiveDir] LDAP & ... Glenn Corbett
- RE: [ActiveDir] LDAP & LastLogin fo... Bjelke John A Contr AFRL/VSIO
- [ActiveDir] LDAP & LastLogin for Co... England, Christopher M
- RE: [ActiveDir] LDAP & LastLogin fo... Free, Bob