StableBit DrivePool Q5261891

From Covecube - Wiki
Revision as of 11:33, 19 December 2012 by Alex (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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