DSMOD Quota (installable option via RSAT /AD DS)

Modify a quota in active directory.

      DSMOD Quota QuotaDN -qlimit Value  [-desc Description] 
            [{-s Server | -d Domain}] [-u UserName] [-p {Password | *}]
               [-c]  [-q] [{-uc | -uco | -uci}]

   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.


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.

Copyright © 1999-2023 SS64.com
Some rights reserved