The first thing you should try to do is add this line at the top of your
script if you're running into strange errors with Win32::OLE:
Win32::OLE->Options(Warn => 9);
That will turn on the big-time warnings.
I suspect you're getting this error:
"OLE exception from "SWbemLocator":
User c
You don't need the cmd file. Just tell the corrective action to run
perl.exe and put 'D:\scripts\FM_Restart\fmstart.pl' in the command-line
parameters field. Also, make sure you're not using any mapped or
subst'ed drives, since SYSTEM won't have access to them when it runs the
script.
-Orig
ut, if I remove the
Access=>KEY_READ(), I get only 78 and the symptoms as before - the key
name is printed, but not the DisplayName value.
--Richard Burns-Allan
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]
Sent: 07 June 2006 16:56
To: Richard Burns-Allan; perl-wi
Title: Creating a Public Folder Using ADO
Use WMI then. Much
simpler than ADO.
http://www.microsoft.com/technet/scriptcenter/topics/exchange/ex03_wmi2.mspx
From: Asher,
Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006
12:09 PM
To: Timothy Johnson;
perl
Title: Creating a Public Folder Using ADO
What version of
Exchange are you using?
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Asher, Scott
Sent: Wednesday, June 07, 2006
11:33 AM
To: perl-win32-admin@listserv.ActiveState.com
Subject: Creating a Public Folder
U
t;$subkey => $name\n";
}
-Original Message-
From: Timothy Johnson
Sent: Wednesday, June 07, 2006 8:56 AM
To: 'Richard Burns-Allan'; perl-win32-admin@listserv.ActiveState.com
Subject: RE: Tieregistry problems with Add/Remove Programs list
I'm not seeing the prob
I'm not seeing the problem you're describing. Here's the code I used
(one small change to make sure we're getting the "GUID keys".
#!/usr/bin/perl -w
use strict;
use warnings;
use Win32::TieRegistry(Delimiter => '/');
my $key =
'LMachine/Software/Microsoft/Windows/CurrentV
"Excuse me while I whip this out."
*sound of large documentation manual landing on the table*
I believe Win32::Lanman, the 100-pound Swiss Army Knife of Win32 modules
has what you need.
Scroll through the extensive documentation for the following functions:
Win32::Lanman::NetSessionEnum()
Win3
This is very dangerous. Any reversible encryption runs a serious risk
of being exploited. If you are going to do something like this, then
use a product like PerlApp that will encrypt the source of your script,
don't try to roll your own. Even if you do this, be aware of the caveat
that if someo
This brings up a huge
pet peeve of mine which we should all try to remember as we’re
coding: Error messages should be required. And not just any error
messages, but RELEVANT error messages. This whole issue could have been
resolved much quicker with a simple “Access Denied”, but since th
I found this on
Google: http://www.mail-archive.com/perl-win32-users@listserv.activestate.com/msg34839.html
From: Timothy
Johnson
Sent: Wednesday, April 19, 2006
2:53 PM
To: 'Castle, Eric';
perl-win32-admin@listserv.ActiveState.com
Subject: RE: Accessing th
Have you tried using
the Open function instead of $Registry? I suspect that $Registry may be using
remote registry semantics to access the registry, and that may be why regular
users wouldn’t have access. Maybe if you use the Open function to open
the key directly you might be able to acc
I don't know if this is your problem, but you should really be using 'eq'
instead of '==' when comparing strings.
-Original Message-
From: henry isham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 9:22 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Win32
I get that too, but I've noticed that I only get it when I use Win32::Lanman
and Win32 in the same script. I've just stopped using Win32 unless I have
to.
-Original Message-
From: Raymond Forbes [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 2:37 PM
To: [EMAIL PROTECTED]
Subject:
There is a function in Win32::AdminMisc that can set the environment and
broadcast the message to all windows as described below, but I'm afraid
you're out of luck with the DOS windows. If you want to change the current
DOS window, you can probably just manipulate the %ENV hash.
-Original Me
I've never run into this particular problem, but a good place to check would
be the [EMAIL PROTECTED] mailing list. It might be worth subscribing.
http://lists.perl.org/showlist.cgi?name=dbi-users
-Original Message-
From: Paul Jansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February
I think what you're looking for can be found in Win32::Lanman;
NetEnumerateTrustedDomains($server, \@domains)
Enumerates all trusted domain names. The command will be executed on server
$server.
if(!Win32::Lanman::NetEnumerateTrustedDomains("testserver", \@domains))
{
print "Sor
I guess that means you didn't like Win32::SetupSup? I'm sure you could use
OLE...
-Original Message-
From: Jangale V-S [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 8:09 PM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: FW: killing a process by window title; was: socket a
Check out a module called Win32::SetupSup. It will let you enumerate
windows, send keys to a window, etc.
-Original Message-
From: Jangale V-S [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:36 PM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: killing a process by
What
version of Win32::AdminMisc are you using? The one from the PPM repository
at http://www.roth.net/perl/packages
should work. Win32::AdminMisc::GetDriveXXX functions should do exactly
what you want.
-Original
Message-From: Crosby, Sam
[mailto:[EMAIL PROTECTED]]Sent: Tue
Check out Win32::Schedule and Win32::TaskScheduler. I believe both of them
are available from either the default or Dave Roth's PPM repository:
http://www.roth.net/perl/packages.
-Original Message-
From: PRADEEP GOEL [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 10:11 PM
To
Win32::Lanman can usually not be found via PPM.
There is a copy of it at Jenda's repository at
http://jenda.krynicky.cz/perl, but when I checked last it was out of date.
I would recommend installing it and checking the version.
Otherwise, you should go to
http://www.cpan.org/authors
Just a thought, but why don't you try printing out the results of the glob?
-Original Message-
From: Glenn Meyer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 12:14 PM
To: [EMAIL PROTECTED]
Subject: unlink not working
Hi all,
unlink glob "*.log";
unlink gl
From: Timothy Johnson <[EMAIL PROTECTED]>
To: Webb, Andy <[EMAIL PROTECTED]>;
[EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Sent: Tue Jan 28 17:43:06 2003
Subject: RE: Win32::OLE Question
How long is "A" in this example?
-Original Message-
From: Webb, Andy [mailto:[EMAIL P
How long is "A" in this example?
-Original Message-
From: Webb, Andy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 3:40 PM
To: [EMAIL PROTECTED]
Subject: RE: Win32::OLE Question
Well, imagine you have a set of messages with conversationIndex (CI):
msgA: CI=A
msgB: CI=B
ms
would check out the
docs on Win32::TieRegistry. I think you can pull the value as an array.
-Original Message-
From: Ross Draper [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 5:07 PM
To: Timothy Johnson
Cc: [EMAIL PROTECTED]
Subject: RE: Win32 ODBC and SQL Insert error.
Hi
Have you tried
"HKEY_LOCAL_MACHINE\\Hardware\\Description\\System\\SystemBiosVersion"?
-Original Message-
From: Ross Draper [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 4:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Win32 ODBC and SQL Insert error.
I've done some additional i
In general, "if defined($ARGV[0])" is good for checking individual elements.
If an element contains the value "0", for example, then it will fail the "if
$ARGV[0]" test, even though there IS a value there, which may be valid.
"if defined(@ARGV)" is not really necessary because the only time the
There are other caveats to be aware of as well when it comes to writing your
own switches. I would recommend looking into the GetOpt::Std module that
comes standard with Perl. It can do what you want and comes out much
cleaner.
-Original Message-
From: Glenn Meyer [mailto:[EMAIL PROTECT
Check the documentation and make sure that you have all of the privileges
needed for this to work. They are not all granted to the Administrators
group by default.
-Original Message-From: Guess_Who344
[mailto:[EMAIL PROTECTED]]Sent: Saturday, January 25, 2003
1:06 PMTo:
[E
Just my $.02, but I would recommend against setting the password within the
script. You can always pass it as an argument. Two reasons: 1)Someone may
read the source 2)If you change the password on the domain and forget to
change your script, you can lock out the account.
Also, I would recomme
Check out the Win32::FileOp module. You can use it to map a drive. I
believe you can find it at jenda's repository.
http://jenda.krynicky.cz/perl
-Original Message-
From: Valerie Kramer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 12:27 PM
To: Perl Win32 Admin Messages
Su
There is a module specifically for this, I think it's at Dave Roth's website
http://www.roth.net.
I believe it's called Win32::Message. I've used it in the past and it
worked great.
-Original Message-
From: Teifke Sascha ZFF FW-EI
To: '[EMAIL PROTECTED]'
Sent: 1/7/03 2:17 AM
Subject:
Hibernation seems to work much better in 2000/XP than it did in 98 or NT,
where it was more of an afterthought. The only places where users might
experience problems are if they are working on an application that expects
constant network activity. In some cases the application will lock
up
tions, and which module
to use?
Thanks
Yogi"Timothy Johnson"<[EMAIL PROTECTED]> wrote:
What operating systems are in use at your location? If you are
using Win2k or higher, then you might be able to use WMI or a similar
interface
What
operating systems are in use at your location? If you are using Win2k or
higher, then you might be able to use WMI or a similar interface to retrieve the
idle time.
-Original Message-From: indian_yogi
[mailto:[EMAIL PROTECTED]]Sent: Sunday, December 22, 2002
9:42 PMTo:
Not knowing completely your criteria, I have to wonder whether sending an
email might not be a better idea than sending a net send, since it tends to
be more reliable.
-Original Message-
From: Teifke Sascha ZFF FW-EI
To: 'Timothy Johnson'; Teifke Sascha ZFF FW-EI;
[EMAIL PROTE
.
Usually this doesn't affect the majority of users, but it's something to be
aware of.
-Original Message-
From: Teifke Sascha ZFF FW-EI
To: 'Dutrieux Yves'; Teifke Sascha ZFF FW-EI; 'Timothy Johnson'
Cc: [EMAIL PROTECTED]
Sent: 12/9/02 1:01 AM
Subject: AW: Win3
Does it work if you use the NET SEND command?
NET SEND recipient message
-Original Message-
From: Teifke Sascha ZFF FW-EI [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 6:40 AM
To: [EMAIL PROTECTED]
Subject: Win32::Message question
Hello Group!
Using this Code:
---8<--- SN
You
can get it from CPAN. Don't bother recompiling it, though, the module
should be intact inside the zip file. For some reason, though, you won't
find it if you do a search. Go here:
http://www.cpan.org/authors/id/J/JH/JHELBERG/
-Original Message-From: Eric Hennessey
[mail
If I understand you correctly you just want to get the value of
%systemroot%? It is in the environment, so you can use the %ENV hash to
access it, i.e. $searchpath = $ENV{SystemRoot}."\\system";
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, Nov
nnessey [mailto:[EMAIL PROTECTED]]Sent: Wednesday,
November 20, 2002 11:59 AMTo: Timothy Johnson;
[EMAIL PROTECTED]Subject: RE: Registry
woes
It
appears the two are interchangeable. I've tried it both ways with the
same result. *shrug*
-Original Message-Fro
Ok. I wasn't sure if LMachine was a synonym for the local
one.
-Original Message-From: Eric Hennessey
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 20,
2002 11:59 AMTo: Timothy Johnson;
[EMAIL PROTECTED]Subject: RE: Registry
woes
It
appears the tw
What
if you change LMachine to HKEY_LOCAL_MACHINE?
-Original Message-From: Eric Hennessey
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 20,
2002 11:39 AMTo:
[EMAIL PROTECTED]Subject: Registry
woes
To all those who
replied to my previous post, thanks...you got m
Here's something I wrote for a friend a while back. If you want to
access remote computers, you just have to put //$computername before the
HKEY.
###
Win32-TieRegistry_Tutorial
v1.
It will take some learning, but Win32::Perms from Dave Roth will work.
http://www.roth.net/perl/perms
-Original Message-
From: [EMAIL PROTECTED] [mailto:rblake@;symcor.com]
Sent: Thursday, November 14, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Registry permissions!
I need to write a s
If you are referring to machines that have the restart button in the center
of the screen waiting to power off, I don't think you can at that point.
-Original Message-
From: Bellenger, Bruno (Paris) [mailto:BelleBru@;exchange.fr.ml.com]
Sent: Wednesday, November 13, 2002 11:30 AM
To: [EMA
For those that don't speak Spanish, and especially those that speak English
as their second language, I'd like to encourage you to make all of your
posts in English. It's not that there's anything wrong with other
languages, but more of the people on this list speak English than any other
langua
With all due respect, unless you have a specific case where the localtime()
function does not work, this advice is basically useless. localtime() has
never failed me or anyone I've ever spoken with, and I use it in every
script I write.
If you do know of a specific instance in which localtime()
I won't be able to test/debug this until at least tomorrow, but I can tell
you right now that part of the issue is that you don't have a good grasp yet
of scoping in Perl. I recommend that you look for an article called "Coping
with Scoping" that is on the Internet. In addition, you should look
I think you can also add a registry key at
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall.
Check out the format of those keys. Name the key whatever you want. The
DisplayName value will have the name that you want to show up in Add/Remove
Programs. The UninstallString val
I would check out the Win32::TaskScheduler module. You will have to make
sure that the servers have the Task Scheduler and not the old AT service.
This will allow users to schedule jobs to run in their context. You could
then make a script that schedules and runs a job and use it to launch the
r
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]
S
ntrol panel
applet and pressing Ok.
-Original Message-
From: Brad Warkentin [mailto:brad.warkentin@;rogers.com]
Sent: Wednesday, October 23, 2002 7:34 AM
To: Timothy Johnson
Cc: '$Bill Luebkert'; Voyer, Paul;
[EMAIL PROTECTED]
Subject: Re: Changing Environment variable
Timoth
That depends on the operating system of the remote machines, but you can
generally get it from the registry. What operating are your targets?
-Original Message-
From: [EMAIL PROTECTED] [mailto:extern.Lars.Oeschey@;audi.de]
Sent: Wednesday, October 23, 2002 1:28 AM
To: [EMAIL PROTECTED]
S
IL PROTECTED]
Subject: Re: Changing Environment variable
Timothy Johnson wrote:
> Or for a simpler way to do the same thing, get Dave Roth's
Win32::AdminMisc
> from his PPM repository at http://www.roth.net/perl/packages (If you don't
> have it, get it now. It can save you a
]
Subject: Re: Changing Environment variable
Timothy Johnson wrote:
> Or for a simpler way to do the same thing, get Dave Roth's
Win32::AdminMisc
> from his PPM repository at http://www.roth.net/perl/packages (If you don't
> have it, get it now. It can save you a lot of time.)
>
Or for a simpler way to do the same thing, get Dave Roth's Win32::AdminMisc
from his PPM repository at http://www.roth.net/perl/packages (If you don't
have it, get it now. It can save you a lot of time.)
There is a function in there called SetEnvVar() that will do exactly what
you need.
-Or
Title: Discovering Servers on the Network
This
function doesn't return all computers that are running the server service.
All workstations run the server service. I think what you're thinking of
is SV_TYPE_WORKSTATION_NT, which returns all computers running the workstation
service. This d
Title: Mistake
Damn. I thought you were a time traveler for a
second.
-Original Message-From: Cruickshanks, Darin
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 16, 2002 3:39
AMTo:
'[EMAIL PROTECTED]'Subject:
Mistake
Re - Last post.
I'm actually running Windows
Title: AdminMisc problem
Does
your user have the extra privileges specified in the
documentation?
-Original Message-From: Cruickshanks, Darin
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 16, 2002 3:33
AMTo: [EMAIL PROTECTED]Subject:
AdminMisc problem
All,
I am ha
The
only way you could do this is by having your scripts run under a user account
that has these priveleges. AdminMisc should do what you want, you don't
really need NetAdmin for most things if you have AdminMisc, IMHO. As for
how to make the users, you would use the same format as for t
You can also use the plain vanilla Win32 module to get the computername.
use Win32;
my $computername = Win32::Nodename;
I might have the capitalization wrong, so double check that by doing a
'perldoc Win32' at the command prompt.
-Original Message-
From: $Bill Luebkert [mailto:[EMAIL P
I still like PerlBuilder. The only complaints I have are 1) it's too
expensive and 2) I've heard that there can be problems running extremely
complex data structures through the debug window. But I use ActivePerl's
Debugger that comes with the Perl Dev Kit anyway. I like the syntax
highlightin
Title: Message
For
starters, I would get off of build 631. There is a very annoying bug in
PPM for that version that could cause a lot of headaches down the line.
Download build 633 from Activestate.
Secondly, how are you trying to install it? Via
PPM? Did you find a .zip file?
Admin
Patrick-
I think you're missing a couple of points here, and feel free to
disagree with me, I think this is a very important debate that will come up
in every programmer's career and is an important part of the topic of this
list, administering a Win32 network with Perl:
-What tools,modu
You should be able to use system(), exec(), or backticks, depending on
exactly how you want to launch it.
Quick overview:
system("command line") -- launches the command line and returns the exit
code of the command
exec("command line") -- launches the command line and exits the script
`command
: Disabling a service
Where can I get the Win32::Lanman package?
*** REPLY SEPARATOR ***
On 2002-10-02 at 09:48 Timothy Johnson wrote:
>Nice. Although if there is still anyone out there that does not have
>Win32::Lanman installed on their system, get thee to a repository and
Nice. Although if there is still anyone out there that does not have
Win32::Lanman installed on their system, get thee to a repository and
download it. It's your basic one-stop shop for almost everything Win32
administration related.
-Original Message-
From: Patrick J. LoPresti [mailto:
That was the issue, though. We were trying to figure out if there was a way
within Win32::Service to change the startup type.
-Original Message-
From: Dave Roth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 8:02 AM
To: 'Patrick J. LoPresti'; [EMAIL PROTECTED]
Subject: RE:
Check out Win32::ChangeNotify
-Original Message-
From: Mike Singleton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 8:53 AM
To: [EMAIL PROTECTED]
Subject: directory and file monitoring
Can anyone point me in the right direction as to how monitor new files
created in a di
o use
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 3:54 PM
To: 'Edgington, Jeff'; [EMAIL PROTECTED];
[EMAIL PROTECTED];
[EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: Dave Roth's web site
And if you want to set up his repos
And if you want to set up his repository permanently in PPM, do this:
PPM> set repository dave http://www.roth.net/perl/packages
PPM> set save
I also recommend checking out the repository at
http://jenda.krynicky.cz/perl
-Original Message-
From: Edgington, Jeff [mailto:[EMAIL PROTECTED
This sounds like the perfect time for a split()
my($var1,$var2) = split /#/,$line;
perldoc -f split
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 7:49 AM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: a q
I wouldn't recommend it. The built in telnet service for W2k (if that's
what you're referring to) is very insecure. If you just want to launch a
process, then I'd suggest launching it from the scheduler. It works fairly
well.
-Original Message-
From: Jitendra Soam [mailto:[EMAIL PROTE
$#f stands for the last index of the array @f. So 2..$#f means "from index
2 to the last index". This means that the code is skipping $f[0] and $f[1].
-Original Message-
From: Mike Singleton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:04 AM
To: [EMAIL PROTECTED]
Sub
: progress!
Mike -
If there are commas in your data, you might want to look into Text::CSV. If
not, I'm with Timothy Johnson.
Tom Wyant
Timothy Johnson <[EMAIL PROTECTED]>@listserv.ActiveState.com on
09/09/2002 04:38:23 PM
Sent by:[EMAIL PROTECTED]
To:"'Mik
You can always just do a
foreach(@files){
open(INFILE,$_) || die "Could not open file $_! $!";
and then do the rest, or you can use the while(<>) magic.
-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 2:00 PM
To: Mike Singleton
open(OUTFILE,">myfile.csv");
while(<@files>){
my @f = split /s+/,$_,9;
print OUTFILE join(',',@f)."\n";
}
should work.
-Original Message-
From: Mike Singleton [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 1:33 PM
To: [EMAIL PROTECTED]
Subject: progress!
Using the f
Title: Message
Give
me a little while to get back to you on this, because I'm really busy, but I
think I have something already for this.
-Original Message-From: Alexander, Mark P (XR&T)
[mailto:[EMAIL PROTECTED]]Sent: Thursday, September 05, 2002
11:30 AMTo: 'T
Title: Message
Which scripts are you referring to that don't work with PerlApp? I
haven't found a single module yet that won't work with it. I'd try it
first before you go installing Perl on every machine. The information you
seek is also in the registry, so you can edit it in the registry
I have his book, and I'm not buying the second one unless he fixes the
memory leak in Win32::Perms
hint, hint
;-)
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 1:33 PM
To: 'Steven Manross'; Hornyak, Douglas;
[
I think that if you look on CPAN you will find a module that emulates that
kind of structure.
http://search.cpan.org
-Original Message-
From: Lanteigne, Bob P. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 8:28 PM
To: 'Ailes, Kevin'; Perl-win32-admin list
([EMAIL PROTECTED
And don't forget to pick up a copy of dave roth's Win32 Perl Administrator's
Handbook (I'm not sure if I got the name exactly right, check out
http://www.roth.net)
-Original Message-
From: Steven Manross [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 7:24 PM
To: '[EMAIL PROT
If it does what you say, then it will be the answer that many of us have
been looking for to simplify our lives as far as Exchange is concerned.
Have you thought about setting up an account at Sourceforge.net?
-Original Message-
From: Steven Manross [mailto:[EMAIL PROTECTED]]
Sent: Tuesd
Ive used ActiveState's PerlApp, which comes as part of the Perl Dev Kit, for
almost a year now. You should check it out. There are some other goodies
in there that you might find interesting, but the PerlApp part is worth the
price by itself to me.
-Original Message-
From: [EMAIL PROT
?source=Extension2;key=extensions2_
scripts
Donwload Win32:TAH examples here:
http://www.roth.net/redirect/home.asp?source=Handbook;key=rc_handbook_ex
amples
Bye,
Fernando Madruga
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Timothy Johnson
Sent: quin
Also, if you're going to be working with ADSI, WMI, and Perl, buy Dave
Roth's book, Win32 Perl Scripting: The Administrator's Handbook. It has a
lot of useful examples. My only complaint? I wish the book came with a CD
of the examples.
-Original Message-
From: Rick Tatem [mailto:[EMAI
Have you checked out Win32::Lanman? It can do just about anything having to
do with the Win32 APIs for administration of an NT or 2000 network. Just a
warning, though. The documentation is HUGE. But I've been slowly replacing
most of my other modules with it.
-Original Message-
From
wonder if
they're really necessary. But I can appreciate how annoying that would be.
I usually use the Perl Dev Kit debugger from ActiveState instead of the Perl
Builder one.
-Original Message-
From: Stuart Whelan (DSL Ch) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 5:00 PM
Which bugs are annoying you, out of curiosity? I've been using it for about
a year. The only bug I've found so far that drives me batty is if I
accidentally open two Perl Builder windows and close one, the other window
crashes. I really like the customizeable syntax highlighting, macros, and
b
obtaining the Platform SDK from Microsoft. You'll find that alot of these
hashes correspond directly with a C struct somewhere in there.
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 4:21 PM
To: 'Jason Hemak'; [EMAIL PRO
I assume you're talking about the function from Win32::Lanman. The hash
should be similar to the hashes returned by NetUserEnum(). This is from the
example for that function:
foreach $user (@users)
{
$hours = unpack("b168", ${$user}{'logon_hours'});
print "${$user}{'name'}
And even then you might not be able to do it if, for example, noone is
logged in. Also, don't forget that HKCU changes for each user, so if you
want to modify something in HKCU, you might be better off launching
something in a login script or schedule job from their machine.
-Original Mess
I had the same problem, and I _think_ I fixed it by upgrading to ActivePerl
5.6.1 build 633.
-Original Message-
From: Sturdevant-Contractor, Robert W
[mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 7:04 AM
To: Perl-Win32-Admin
Subject: Help AdminMisc Error
Hi Group,
Can someone
Or at least update the one on CPAN...
-Original Message-
From: Gabor Szabo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 10:07 PM
To: Dave Roth
Cc: [EMAIL PROTECTED]
Subject: Re: what happened to www.roth.net?
Dave Roth wrote:
> www.roth.net is back up and online. Thanks to
Here's a little tutorial I made for a friend on Win32::TieRegisty. It
should explain the basics. You can open it with notepad or whatever perl
editor you use to read it, and executing it will add the registry keys
discussed in the tutorial.
-Original Message-
From: Dave Roth [mailto:[E
Whew! That's a relief. I think you'll be seeing a little post-panic
paranoia activity on your ftp servers as people wildly dash for copies of
their favorite module to stash in a safe place. I'd been reduced to handing
out second-hand modules from my perl/site directory. :)
-Original Messa
I can send the Win32::AdminMisc and Perms modules to anyone that needs them.
(Perl 5.6.1)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 11:48 AM
To: $Bill Luebkert
Cc: [EMAIL PROTECTED]
Subject: Re: what happened to www.roth.net?
Quot
David
[mailto:[EMAIL PROTECTED]]Sent: Thursday, June 27, 2002 2:09
PMTo: 'Timothy Johnson'; 'c.barbet';
'[EMAIL PROTECTED]'Subject: RE: Removing
machine accounts
see the attached script. I dont recall where I found
it, but it does the job.
1 - 100 of 211 matches
Mail list logo