Partilhar via


Filescrn 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, dirquota admin options displays the values of the options that are currently configured.

Note

You must be logged on as an administrator or a member of the Administrators group to use this command.

For examples of how to use this command, see Examples.

Syntax

filescrn 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, without leaving 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 for the same issue only at the time interval (in minutes) specified as 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:

  • m — an e-mail notification

  • e — an event log notification

  • c — a command or script execution

  • r — a report generation

/remote:<ComputerName>

Performs the operation on the remote computer ComputerName.

Remarks

  • E-mail addresses specified in 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:

    filescrn ad o /f:admin@contoso.com
    filescrn 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:

    filescrn admin options
    
  • To configure the default From address and administrative recipients for e-mail notifications and storage reports, type:

    filescrn admin options /from:admin@contoso.com /adminemails:backup_operator@contoso.com
    
  • To specify that e-mail notifications that are raised for repeatedly exceeding a quota or detecting an unauthorized file be sent only once every two hours, type:

    filescrn admin options /runlimitinterval:m,120
    

Additional references

Command-Line Syntax Key

Filescrn admin