Share via


Storrept admin defaults

 

Applies To: Windows Server 2008, Windows Server 2008 R2

Configures default locations and parameter values for storage reports that are generated with File Server Resource Manager and the Dirquota, Filescrn, and Storrept commands. If used without parameters, the storrept admin defaults command displays the default locations and values 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 defaults [/scheduled:<ScheduledPath>] 
   [/incident:<IncidentPath>] [/ondemand:<OnDemandPath>] 
   [/filegroups-FilesByFileGroup:"<FgList>"] 
   [/filename-FilesByOwner:<Pattern>] [/filename-LargeFiles:<Pattern>] 
   [/filename-LeastRecentlyAccessed:<Pattern>] 
   [/filename-MostRecentlyAccessed:<Pattern>] [/minage-FileScreenAudit:<MinAge>] 
   [/minage-LeastRecentlyAccessed:<MinAge>] [/maxage-MostRecentlyAccessed:<MaxAge>] 
   [/minsize-LargeFiles:<MinSize>[kb | mb | gb]] 
   [/minuse-QuotaUsage:<MinUse>] [/owners-FilesByOwner:"<OwnerList>"] 
   [/owners-FileScreenAudit:"<OwnerList>"] [/remote:<ComputerName>]

Parameters

Parameter

Description

/scheduled:<ScheduledPath>

Specifies that scheduled reports should be stored at path ScheduledPath.

/incident:<IncidentPath>

Specifies that incident (notification) reports should be stored at path IncidentPath.

/ondemand:<OnDemandPath>

Specifies that on-demand reports should be stored at path OnDemandPath.

/filegroups-FilesByFileGroup:"<FgList>"

Specifies a list of file groups for the Files by File Group report. The FgList value is a list of one or more file group names separated by a pipe character (|), enclosed in quotation marks. To specify all file groups, set FgList to "".

To display a list of file groups, use the Filescrn filegroup list command.

/filename-FilesByOwner:<Pattern>

/filename-LargeFiles:<Pattern>

/filename-LeastRecentlyAccessed:<Pattern>

/filename-MostRecentlyAccessed:<Pattern>

Specifies the file name pattern for the specified report type. Note that you can use wildcard characters for the value of Pattern (for example, *.exe).

/minage-FileScreenAudit:<MinAge>

Specifies the minimum number of days since a file screening violation occurred for the File Screening Audit report.

/minage-LeastRecentlyAccessed:<MinAge>

Specifies the minimum number of days since a file was last accessed for the Least Recently Accessed Files report.

/maxage-MostRecentlyAccessed:<MaxAge>

Specifies the maximum number of days since a file was last accessed for the Most Recently Accessed Files report.

/minsize-LargeFiles:<MinSize>[kb | mb | gb]

Specifies the minimum file size for the Large Files report. By default, the MinSize value is denoted in kiloybytes (KB), but you can append kb, mb, or gb to specify the unit.

/minUse-QuotaUsage:<MinUse>

Specifies the minimum quota usage percentage for the Quota Usage report.

/owners-FileScreenAudit:"<OwnerList>"

/owners-FilesByOwner:"<OwnerList>"

Specifies the list of file owners for the File Screen Audit report or the Files by Owner report. The OwnerList value can be a list of one or more user names separated by a pipe character (|), enclosed in quotation marks. To specify all owners, set OwnerList to "".

/remote:<ComputerName>

Performs the operation on the remote computer ComputerName.

Remarks

  • 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 d
    storrept admin defaults
    
  • 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 the current default storage report locations and parameter values, type:

    storrept admin defaults
    
  • To store on-demand reports in the D:\reports folder and set the minimum file size parameter to 50 MB for the Large Files report, type:

    storrept admin defaults /ondemand:d:\reports /minsize-LargeFiles:50mb
    

Additional references

Command-Line Syntax Key

Storrept admin options