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:

DSMOD partition
DSAdd - Add object
DSMod - Modify object
DSGet - Display object
DSMove - Move object
DSQuery - Search for objects
DSRM - Delete object
Equivalent bash commands (Linux): ldapmodify - Modify Lightweight Directory Access Protocol



Back to the Top

© Copyright SS64.com 1999-2010
Some rights reserved