Difference between revisions of "StableBit DrivePool Q5261891"

From Covecube - Wiki
(Created page with "How to control DrivePool alerts from the command line. ==When to Use== If you would like to write a script on the server that clears or raises DrivePool alerts. ==Steps== # Fol...")
 
(No difference)

Latest revision as of 11:33, 19 December 2012

How to control DrivePool alerts from the command line.

When to Use

If you would like to write a script on the server that clears or raises DrivePool alerts.

Steps

  1. Follow: Q7200705
  2. Open the Command Prompt.

Commands

Commands are issued by calling C:\Program Files\Windows Server\Bin\DrivePool.WhsCommands.exe

Syntax:

 DrivePool.WhsCommands.exe command [option, option, ...]

Notifications

  • DrivePool.WhsCommands.exe Notifications.RaiseAlert [option]
  • DrivePool.WhsCommands.exe Notifications.ClearAlert [option]
  • DrivePool.WhsCommands.exe Notifications.ClearAlll

Options

This specifies the alert.

  • MissingDisk
  • ReadFailure
  • WriteFailure
  • DuplicationError

Example

 DrivePool.WhsCommands.exe Notifications.ClearAlert MissingDisk