Share via


Storrept admin options

Applies To: Windows Server 2008, Windows Server 2008 R2

Configures e-mail notification options used by File Server Resource Manager and the Dirquota, Filescrn, andStorrept commands. If used without parameters, the storrept 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

storrept 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 be used when sending e-mail notifications and storage reports.

/from:<FromEmail>

Specifies the default e-mail address to be used 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 every Interval minutes. 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 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:

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

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

    storrept 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:

    storrept admin options /runlimitinterval:m,120
    

Additional references

Command-Line Syntax Key

Storrept admin options