Discussion:
Could I use vbscript to set folder quotas?
(too old to reply)
£€£€£€
2009-04-07 02:30:43 UTC
Permalink
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.
Pegasus [MVP]
2009-04-07 07:36:01 UTC
Permalink
Post by £€£€£€
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/scriptcenter/resources/qanda/aug05/hey0809.mspx
£€£€£€
2009-04-10 07:59:18 UTC
Permalink
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 ?
Paul Randall
2009-04-10 14:04:57 UTC
Permalink
Post by £€£€£€
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/library/bb613257(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

Loading...