StableBit DrivePool Q5261891

From Covecube - Wiki

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