[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
] 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:
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
{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
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
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
NTDISABLE) >= 0){
print OUTFILE "DISABLED.";
$total = $total - UF_ACCOUNTDISABLE;
}
if (($total - UF_SCRIPT) >= 0){
$total = $total - UF_SCRIPT;
}
if($user{passwordExpired} == 1){
print OUTFILE
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
[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.
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
10 matches
Mail list logo