Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Could I use vbscript to set folder quotas?

Reply
 
Old 04-06-2009   #1 (permalink)
£¤£¤£¤


 
 

Could I use vbscript to set folder quotas?

In a Win2008-based file server,I have created 10 folders. Then,I can
configure the folder quotas with the FSRM (the file server resource
manager),but I can not export and import the configuration.

Could I use vbscript to set folder quotas for the 10 folders £¿

If could ,it will be convenient
to restore the folder quotas configurations.



My System SpecsSystem Spec
Old 04-07-2009   #2 (permalink)
Pegasus [MVP]


 
 

Re: Could I use vbscript to set folder quotas?


"£¤£¤£¤" <eagle@xxxxxx> wrote in message
news:%232fOMjytJHA.1240@xxxxxx
Quote:

> In a Win2008-based file server,I have created 10 folders. Then,I can
> configure the folder quotas with the FSRM (the file server resource
> manager),but I can not export and import the configuration.
>
> Could I use vbscript to set folder quotas for the 10 folders £¿
>
> If could ,it will be convenient
> to restore the folder quotas configurations.
>
This might help:
How Can I Modify a Disk Quota Entry Under Windows 2000?
http://www.microsoft.com/technet/scr...5/hey0809.mspx


My System SpecsSystem Spec
Old 04-10-2009   #3 (permalink)
£¤£¤£¤


 
 

Re: Could I use vbscript to set folder quotas?

Class Microsoft.DiskQuota.1 is used to create Volum Quota, but not to
Directory Quota.

I found that there is a class named fsrm.fsrmQuotaManager in the
HCR\ClSID\....

However,I cannot find its reference in MSDN WebSite. In MSDN WebSite, there
is only a IFsrmQuotaManager interface ,but it is for C++.

Where can I find the reference and syntax for Class fsrm.fsrmQuotaManager ?


My System SpecsSystem Spec
Old 04-10-2009   #4 (permalink)
Paul Randall


 
 

Re: Could I use vbscript to set folder quotas?


"£¤£¤£¤" <eagle@xxxxxx> wrote in message
news:uGobzIbuJHA.4068@xxxxxx
Quote:

> Class Microsoft.DiskQuota.1 is used to create Volum Quota, but not to
> Directory Quota.
>
> I found that there is a class named fsrm.fsrmQuotaManager in the
> HCR\ClSID\....
>
> However,I cannot find its reference in MSDN WebSite. In MSDN WebSite,
> there is only a IFsrmQuotaManager interface ,but it is for C++.
>
> Where can I find the reference and syntax for Class fsrm.fsrmQuotaManager
> ?
I have no experience with it, but Google found this link:
http://msdn.microsoft.com/en-us/libr...57(VS.85).aspx
which mentions:
1) To create this object from a script, use the program identifier,
Fsrm.FsrmQuotaManager.
2) Minimum supported server Windows Server 2008.

-Paul Randall


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
VBScript to move file in one folder to many folder VB Script
delete folder as admin using vbscript VB Script
VBScript root folder property question VB Script
Imposing Process Quotas Vista General
Disk Quotas Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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