Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Windows Server 2008
Creates and configures a new auto apply quota.
Note
To use this command, you must be logged on as an administrator or a member of the Administrators group.
For examples of how to use this command, see Examples.
dirquota autoquota add /path:<Path> /sourcetemplate:<TemplateName> [/remote:<ComputerName>]
Parameter | Description |
---|---|
/path:<Path> |
Creates an auto apply quota on path Path. You can use the following wildcard characters:
|
/sourcetemplate:<TemplateName> |
Configures the auto apply quota by using the properties of the quota template TemplateName. If the template name contains a space, enclose the name in quotation marks. |
/remote:<ComputerName> |
Performs the operation on the remote computer ComputerName. |
The **/sourcetemplate:**TemplateName parameter derives the following auto apply quota properties from the quota template TemplateName:
Space limit
Quota type (hard or soft)
Notification thresholds and notifications (if configured)
To create and manage quota templates, use the Dirquota template command.
The shortest sequence of characters that uniquely identifies a parameter can be used as an abbreviation. For example, the following two commands are equivalent:
dirquota au a /p:d:\scratch /s:"100 mb limit" dirquota autoquota add /path:d:\scratch /sourcetemplate:"100 mb limit"
To perform operations on a remote computer by using the **/remote:**ComputerName parameter:
You must be logged on with a domain account that is a member of the Administrators group on both the local computer and the remote computer.
The remote computer must be running Windows Server 2008, and File Server Resource Manager must be installed.
The Remote File Server Resource Manager Management exception on the remote computer must be enabled. Enable this exception by using Windows Firewall in Control Panel.
To create an auto apply quota based on the User Quota template that will be applied to all subfolders of D:\users, type:
dirquota autoquota add /path:d:\users /sourcetemplate:"user quota"