Add and configure new quotas. The syntax of this command is: Dirquota Quota Add /Path:PATH {/Limit:LIMIT[kb|mb|gb | /SourceTemplate:TEMPLATE} ...

Add and configure new quotas.

The syntax of this command is:

Dirquota Quota Add /Path:PATH
                   {/Limit:LIMIT[kb|mb|gb] | /SourceTemplate:TEMPLATE}
                   [/Type:{Hard|Soft}] [/Status:{Enabled|Disabled}]
                   [/Add-Threshold:LEVEL]
                   [/Add-Notification:LEVEL,NOTIFY_TYPE,CONFIG_FILE]
                   [/Overwrite | /Ignore] [/Remote:MACHINE]

   /Path:PATH                 Configure quota on path PATH. The following
                              wildcards are supported:
                                 \.   - Folder specified by PATH
                                 \*   - All immediate subfolders of PATH

   /Limit:LIMIT[kb|mb|gb]     Impose folder size limit. By default LIMIT is in
                              KB, "kb", "mb", and "gb" can be appended to
                              specify other units.

   /SourceTemplate:TEMPLATE   Configure quota from template TEMPLATE.

   /Type:{Hard|Soft}          Make the quota limit hard or soft.
                                 Hard - Limit cannot be exceeded (default)
                                 Soft - Limit can be exceeded

   /Status:{Enabled|Disabled} Enable or disable quota.
                                 Enabled  - Quotas are enforced (default)
                                 Disabled - Quotas are disabled

   /Add-Threshold:LEVEL       Add notification threshold at utilization
                              LEVEL %%. The switch can be specified multiple
                              times.

   /Add-Notification:LEVEL,NOTIFY_TYPE,CONFIG_FILE

                              Add notification at threshold. The switch can be
                              specified multiple times. The parameters to be
                              used are:
                                 LEVEL       - Notification threshold
                                 NOTIFY_TYPE - One of the following:
                                    M - E-mail notification
                                    E - Event log notification
                                    C - Command line notification
                                    R - Report notification
                                 CONFIG_FILE - Path to configuration file

   /Overwrite                 Overwrite quotas if they already exist.

   /Ignore                    Ignore paths where quotas already exist.

   /Remote:MACHINE            Perform the operation on machine MACHINE.

Use "Dirquota Notification /?" to view configuration file syntax.

Examples:
   Dirquota Quota Add /Path:D:\scratch /Limit:50mb

   Dirquota Quota Add /Path:D:\users\bob /SourceTemplate:"User Quota Template"
      /Add-Threshold:80 /Add-Notification:80,M,email-warning.txt

English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
italiano
Italian
日本語
Japanese
한국어
Korean
Português
Portuguese
Русский
Russian