RE: Last Logon of ALL users in the domain

2003-06-12 Thread Rosenstein, Leon
Is there way to have it query all domain controllers in the domain? I was thinking of modifying it to run the script as a subroutine and use lanman or netadmin to loop it through all the DC's. The problem is if you have more then one DC you wont get accurate results. It needs to be run on each o

perl & registry editing

2003-03-27 Thread Rosenstein, Leon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, I am using the win32 environment (Windows 2000 SP3 specifically): Could anyone tell me how I could use perl to edit the registry? Do I need some kind of module? Is there a website or link anyone can provide? TIA, Leon -BEGIN P

Iteration Question

2003-03-24 Thread Rosenstein, Leon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi again everyone, Again newbie here so go easy In a script I have a section that looks like this #Finally we have to load all extensible counters system("lodctr faxperf.ini") or die "sorry couldn't do $!"; system("lodctr dnsperf.ini") or die "sor

\ vs / vs %

2003-03-24 Thread Rosenstein, Leon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, I am pretty new to perl so I assume you guys and girls will starting getting to know me really well. I have a one line snippet of code that I am trying to run. The system is win2k sp3. I am trying to run the expand command and pass t

rename in windows doesn't work

2003-03-24 Thread Rosenstein, Leon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, I am having some problems with a script. Currently the script reads: opendir (DIR, "c:/temp") or die "Cant Open Temp Buddy Boy! \n"; @filenames = readdir (DIR) or die "Can't Hold Filenames \n"; foreach $name (@filenames) {if