Полезное‎ > ‎CMD‎ > ‎dsmod‎ > ‎

dsmod quota

DSMOD Quota

Modify a quota in active directory.

Syntax
      DSADD Quota QuotaDN -qlimit Value  [-desc Description] 
            [{-s Server | -d Domain}] [-u UserName] [-p {Password | *}]
               [-c]  [-q] [{-uc | -uco | -uci}]
 
Key
   QuotaDN  Distinguished name of the quota to modify.
            If omitted will be taken from standard input (stdin)
 
   -qlimit  Quota Limit - the number of objects within the directory partition that Name can own.
            To specify an unlimited quota, use -1.
 
   -desc    Description of the quota. 
 
   -s       Server to connect to (Default=the domain controller in the logon domain.)
-d Domain to connect to. -c Continue with the next object after any error (when you specify multiple target objects)
by default dsmod will exit when the first error occurs. -q Quiet, suppress all output -uc Unicode format -uco Unicode format for output only -uci Unicode format for input only

DS* commands are available on networked machines with the server role A.D. Domain Services installed, Domain Controllers (or for XP users: XP Professional).

Examples

Change the Quota FabQuota1 to have a limit of 100:

C:\> dsmod quota FabQuota1 -qlimit 100

“The highest reward for a person's toil is not what they get for it but what they become by it” - John Ruskin

Related commands:

DSAdd - Add object
DSMod - Modify object
DSGet - Display object 
DSMove - Move object
DSQuery - Search for objects 
DSRM - Delete object
CSVDE - Import or export AD info in CSV format.
LDIFDE - Edit AD Objects, extend schema, import or export AD information. 
Q322684 - Directory Service Command-Line Tools 

Comments