DSGET Quota (installable option either via RSAT /AD DS or adminpack.msi)

Display quota(s) from active directory.

      DSGET Quota ObjectDN [-dn] [-acct] [-qlimit]
         [{-s Server | -d Domain}] [-u UserName] [-p {Password | *}]
            [-c] [-q] [-l] [{-uc | -uco | -uci}]

  ObjectDN  Distinguished Name of the quota to view.

   -acct    Display the distinguished names of the accounts to which the quotas are assigned.

   -qlimit  Display the quota limits for the specified quotas.
            An unlimited quota appears as "-1".

   -s       Server to connect to (Default=the domain controller in the logon domain.)
   -d       Domain to connect to

   -u       Username with which the user logs on to a remote server. 
   -p       Password     (UserName or Domain\UserName or Username@domain.com)

   -c       Report errors, but continue with the next object after any error (when you specify multiple objects)
            by default dsget will exit when the first error occurs.

   -q       Quiet, suppress all output
   -l       Display entries in a list format. By default, dsget outputs a table format.

   -uc      Unicode format
   -uco     Unicode format for output only
   -uci     Unicode format for input only

Dsget can accept stdin from the keyboard, from a redirected file, or as piped output from another command e.g. DSQuery


Display the account to which the quota is assigned, and the quota limit for DemoQuota:

C:\> dsget quota "CN=DemoQuota,dc=AcmeCo,dc=ss64,dc=com" -acct -qlimit

“I don’t believe in quotas. America was founded on a philosophy of individual rights, not group rights” ~ Clarence Thomas


DSAdd - Add object
DSGet - Display object
DSMod - Modify object
DSMove - Move object
DSQuery - Search for objects
DSRM - Delete object

Copyright © SS64.com 1999-2018
Some rights reserved