RE: Last Logon of ALL users in the domain (U)

2003-07-02 Thread Meidling, Keith, CTR, OSD-NII
[mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 2:00 PM To: 'Leon'; 'Tillman, James'; 'Robert-Jan Mora' Cc: 'perl'; 'win32'; 'Yahoo Beginner Perl' Subject: RE: Last Logon of ALL users in the domain If you want the Time of logon

RE: Last Logon of ALL users in the domain

2003-06-12 Thread Tim Dumas
] Behalf Of Leon Sent: Thursday, June 12, 2003 12:03 PM To: Tillman, James; Robert-Jan Mora Cc: perl; win32; Yahoo Beginner Perl Subject: RE: Last Logon of ALL users in the domain This totally 100 percent worked. Thank you so much "Tillman, James" <[EMAIL PROTECTED]> wrote:

RE: Last Logon of ALL users in the domain

2003-06-12 Thread Gould, Kevin
AIL PROTECTED] Sent: Thursday, June 12, 2003 1:22 PM To: '[EMAIL PROTECTED]'; 'Leon'; 'Tillman, James'; 'Robert-Jan Mora' Cc: 'perl'; 'win32'; 'Yahoo Beginner Perl' Subject: RE: Last Logon of ALL users in the domain Is

RE: Last Logon of ALL users in the domain

2003-06-12 Thread Leon
{Name} . "=" . $last_login . "\n" } } Just a thought... jpt -Original Message- From: Leon [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 12:35 PM To: Robert-Jan Mora Cc: perl; win32; Yahoo Beginner Perl Subject: Re: Last Logon of ALL users in the domain Hi Rober

Last Logon of ALL users in the domain

2003-06-12 Thread Leon
Hi guys (and ladies!), I am trying to write a script to find out the last logon of all users in a domain. I see that with adminmisc I can query a users last logon but this has to be done on every domain controller. That's fine cause I know that I can use netadmin and lanman to get a list of

Re: Last Logon of ALL users in the domain

2003-06-12 Thread Leon
Hi Robert, Unfortunately after examining this script it works via passing a username to it. I can do this with adminmisc. I need to check ALL users in the domain. Here is a snippet of the code and what it appears to do: $username = $ARGV[0]; Grab the username from ARGV I appreciate the

RE: Last Logon of ALL users in the domain

2003-06-12 Thread Tim Johnson
NTDISABLE) >= 0){ print OUTFILE "DISABLED."; $total = $total - UF_ACCOUNTDISABLE; } if (($total - UF_SCRIPT) >= 0){ $total = $total - UF_SCRIPT; } if($user{passwordExpired} == 1){ print OUTFILE

RE: Last Logon of ALL users in the domain

2003-06-12 Thread Rosenstein, Leon
ECTED] Sent: Thursday, June 12, 2003 2:00 PM To: 'Leon'; 'Tillman, James'; 'Robert-Jan Mora' Cc: 'perl'; 'win32'; 'Yahoo Beginner Perl' Subject: RE: Last Logon of ALL users in the domain If you want the Time of logon along with the date

RE: Last Logon of ALL users in the domain

2003-06-12 Thread Tillman, James
[mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 12:35 PM To: Robert-Jan Mora Cc: perl; win32; Yahoo Beginner Perl Subject: Re: Last Logon of ALL users in the domain Hi Robert, Unfortunately after examining this script it works via passing a username to it. I can do this with adminmisc.

RE: Last Logon of ALL users in the domain

2003-06-12 Thread Tillman, James
t: Re: Last Logon of ALL users in the domain Hi Robert, Unfortunately after examining this script it works via passing a username to it. I can do this with adminmisc. I need to check ALL users in the domain. Here is a snippet of the code and what it appears to do: $username = $ARGV[0]; Gra