Dirquota admin options
Applies To: Windows Server 2008
Configures e-mail notification options used by File Server Resource manager and the Dirquota, Filescrn, and Storrept commands. If used without parameters, the dirquota admin options command displays the values of the options that are currently configured.
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.
Syntax
dirquota admin options [/smtp:<ServerName>] [/from:<FromEmail>]
[/adminemails:<AdminEmails>] [/screenaudit:{enabled | disabled}]
[/command:{enabled | disabled}] [/runlimitinterval:<NotifyType>,<Interval>]
[/remote:<ComputerName>]
Parameters
Parameter | Description |
---|---|
/smtp:<ServerName> |
Specifies ServerName as the Simple Mail Transfer Protocol (SMTP) server to use when sending e-mail notifications and storage reports. |
/from:<FromEmail> |
Specifies the default e-mail address to use as the originating e-mail address for notifications and storage reports. This e-mail address will be used for notifications and storage reports for which a different From address is not explicitly specified. |
/adminemails:<AdminEmails> |
Specifies the default list of e-mail addresses for the recipients of notifications and storage reports. This parameter also specifies the value of the [Admin Email] variable used in some File Server Resource Manager notifications. Use a semicolon to separate multiple e-mail addresses, and do not leave blank spaces between them. |
/screenaudit:{enabled | disabled} |
Enables or disables file screen auditing. When enabled, file screening activity is recorded in an auditing database. You can review information in this database by generating a File Screening Audit report, using either the File Server Resource Manager snap-in or the Storrept command. |
/command:{enabled | disabled} |
Enables or disables command-line notifications. |
/runlimitinterval:<NotifyType>,<Interval> |
Specifies that notifications of type NotifyType can be raised only for the same issue at the interval (in minutes) specified for the Interval value. This reduces the number of notifications raised for repeatedly exceeding a quota or detecting an unauthorized file. NotifyType must be one of the following:
|
/remote:<ComputerName> |
Performs the operation on the remote computer ComputerName. |
Remarks
E-mail addresses specified with the /from: and /adminemails: parameters must be in the format account@domain.
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 ad o /f:admin@contoso.com dirquota admin options /from:admin@contoso.com
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. You enable this exception by using Windows Firewall in Control Panel.
Examples
To display currently configured administrative options, type:
dirquota admin options
To configure the default From address and administrative recipients for e-mail notifications and storage reports, type:
dirquota admin options /from:admin@contoso.com /adminemails:backup_operator@contoso.com;admin@contoso.com
To specify that e-mail notifications that are raised for repeatedly exceeding a quota or detecting an unauthorized file is to be sent only once every two hours, type:
dirquota admin options /runlimitinterval:m,120