Perl module for programming Windows 2000 quota

D

ddl

Hi all,

Does anyone know of any Perl module for programming Windows 2000 server
quota ? I need to write a script which I can plug into task scheduler and
run every weekly. It will check if the users' quota entries has exceeded a
certain amount and then send an email to that user so that they can
hosuekeep their home directory.

Thanks
ldd.
 
G

gnu valued customer

ddl said:
Hi all,

Does anyone know of any Perl module for programming Windows 2000 server
quota ? I need to write a script which I can plug into task scheduler and
run every weekly. It will check if the users' quota entries has exceeded a
certain amount and then send an email to that user so that they can
hosuekeep their home directory.

Thanks
ldd.

Win32-OLE should do fine:

------------ snip ---------------
use Win32::OLE;
my $Obj = Win32::OLE->new('Microsoft.DiskQuota',
\&OleQuit) || die("could not create Obj\n");
------------ unsnip -------------------------

If you need help with the object model for DiskQuota,
try my Win32 custom Object Browser, called TLViewer

http://mysite.verizon.net/res1ur2j/ (TLViewer link left side)

Further, see this article
http://support.microsoft.com/default.aspx?scid=kb;en-us;297835

I've never scripted this in anyway, so take pride in being
a pioneer (whether you find success or failure).

hth,
Mark Pryor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top