RE: Remote User

2005-10-14 Thread Adam Stern
gin Session   print "-----------\n";print "ID\tUser\tType\tStartTime\n";print "---\n";foreach my $session(keys (%loginSession)) {        print $session .  "\t" .  $loginSession{$session}->{"nam

RE: Remote User

2005-10-14 Thread Paul Sobey
l Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Adam Stern > Sent: 14 October 2005 15:02 > To: Manfred Maier; Ramlakhan,Dave; [EMAIL PROTECTED] > Cc: Perl-Win32-Admin@listserv.ActiveState.com > Subject: RE: Remote User > > Is there a wa

RE: Remote User

2005-10-14 Thread Chris Wagner
Win32::AdminMisc::GetHostName($ip) Win32::AdminMisc::GetHostAddress($host) At 10:01 AM 10/14/05 -0400, Adam Stern wrote: >Is there a way to do this with WMI instead of gethostbyaddr or any other socket-type functions? > -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne ced

RE: Remote User

2005-10-14 Thread Ramlakhan, Dave
> -Original Message- > From: Adam Stern [mailto:[EMAIL PROTECTED] > Sent: 14 October 2005 14:19 > To: Ramlakhan, Dave; [EMAIL PROTECTED] > Cc: Perl-Win32-Admin@listserv.ActiveState.com > Subject: RE: Remote User > > > That is a lot shorted than the code I

RE: Remote User

2005-10-14 Thread Chris Wagner
Yeah, there's the built in gethostbyname... functions. There's also a win32::adminmisc name lookup that might be easier. At 09:19 AM 10/14/05 -0400, Adam Stern wrote: >That is a lot shorted than the code I was using. Thanks! > >Is there a way to determine the name of a machine via the IP address

RE: Remote User

2005-10-14 Thread Adam Stern
-- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 14. Oktober 2005 15:40 An: Ramlakhan,Dave; [EMAIL PROTECTED] Cc: Perl-Win32-Admin@listserv.ActiveState.com Betreff: RE: Remote User That is a lot shorted than the code I was using. Thanks! Is there a way to determine the name of a

RE: Remote User

2005-10-14 Thread Adam Stern
3:59 AM To: '[EMAIL PROTECTED]' Cc: 'Perl-Win32-Admin@listserv.ActiveState.com' Subject: RE: Remote User > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 13 October 2005 21:53 > To: Perl-Win32-Admin@listserv.ActiveStat

RE: Remote User

2005-10-14 Thread Ramlakhan, Dave
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 13 October 2005 21:53 > To: Perl-Win32-Admin@listserv.ActiveState.com > Subject: Re: Remote User > > > Adam Stern <[EMAIL PROTECTED]> wrote: > >Is there a way to tell

RE: Remote User

2005-10-13 Thread Thomson Steven R Contr AFRL/VSIO
You can parse the output of Sysinternals tool psloggedon.   Steven ThomsonUnisysAFRL E-Mail and Lan Support505-853-3148[EMAIL PROTECTED]"Before they invented drawing boards, what did they go back to?"    From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam SternSent: Tues

Re: Remote User

2005-10-13 Thread Chris Wagner
Adam Stern <[EMAIL PROTECTED]> wrote: >Is there a way to tell who is currently logged into another workstation on the network via perl? Have perl call and parse the output of nbtstat. -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 0100

Re: Remote User

2005-10-13 Thread Ryan Speight
Don't think this is what you are looking for but you may be able to user the CGI module.Adam Stern <[EMAIL PROTECTED]> wrote: Is there a way to tell who is currently logged into another workstation on the network via perl? Thanks!   - Adam___Perl-Win