That works too (and well, I might add).  This will still only work on W2k+
systems.

-----Original Message-----
From: Patrick J. LoPresti [mailto:patl@;users.sourceforge.net]
Sent: Wednesday, October 23, 2002 10:25 AM
To: Timothy Johnson
Cc: '[EMAIL PROTECTED]';
[EMAIL PROTECTED]
Subject: Re: Getting Environment Variables of remote machines


You could...

(wait for it...  wait for it...)

...use WMI.

  http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_environment.asp

Attached is a script (getenv.pl) which takes a hostname as argument
and dumps its user and system environment settings.

 - Pat

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to