Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Perl module for programming Windows 2000 quota

Reply
Thread Tools

Perl module for programming Windows 2000 quota

 
 
ddl
Guest
Posts: n/a
 
      05-31-2004
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.


 
Reply With Quote
 
 
 
 
gnu valued customer
Guest
Posts: n/a
 
      05-31-2004

"ddl" <> wrote in message news:c9e8lo$dnm$...
> 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...b;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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ISG: volume based quota Pavel Crasotin2147483647 Cisco 0 04-07-2006 11:58 AM
Disk Quota =?Utf-8?B?Q29saW4=?= MCSE 0 02-05-2006 11:39 PM
HELP~215 test about quota =?Utf-8?B?bG92ZXJhaW4=?= MCSE 6 06-21-2005 12:53 AM
I received an autoreply for being over quota but cant stop the spam Andy Starnes Computer Support 4 12-12-2003 09:14 PM
Re: Disk quota Nettransplant MCSE 0 09-14-2003 08:46 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57