Share via


Storrept reports cancel

 

Applies To: Windows Server 2008, Windows Server 2008 R2

Cancels one or all storage report tasks that are currently running or that are queued to run.

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 reports cancel {/running | /queued | /task:<TaskName>} [/remote:<ComputerName>]

Parameters

Parameter

Description

/running

Cancels all report tasks that are currently running.

/queued

Cancels all report tasks that are queued to run.

/task:<TaskName>

Cancels only the storage report task TaskName.

/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 r c /r 
    storrept reports cancel /running
    
  • 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 cancel the FSRMReport task configured on the local computer, type:

    storrept reports cancel /task:fsrmreport
    
  • To cancel all storage report task that are running on the remote computer FILESERVER1, type:

    storrept reports cancel /running /remote:fileserver1
    

Additional references

Command-Line Syntax Key

Storrept reports