Users Guide

Table Of Contents
Used with: list subcommand.
Specify -writers to display a list of SharePoint writers on the local host.
ASMCLI Commands and Their Syntax
The following section lists the ASMCLI commands. Examples shown in the following sections contain line breaks where long
strings wrap.
CAUTION: Do not insert line breaks in actual commands.
ASMCLI -alert
Email alerts can be controlled using the ASMCLI alert command. Enabling or disabling alerts through ASMCLI will automatically
set the corresponding alerts in the GUI, and enabling or disabling alerts in the GUI will update the alert status when you view
alerts through ASMCLI.
See Alert Settings for a list of available alerts.
You will not receive email alerts until you configure email settings. To configure email settings using ASMCLI, use the
configureASM command. To configure email settings using the GUI, click View Settings, and then click the Notifications
tab.
The delete, restore, mount, unmount, and selectiverestore commands have the -noemail parameter set by
default. If alerts are enabled and you execute any of these commands using ASMCLI, you will not get an email notification when
the operation completes unless you specify the -email parameter when you execute the command.
Similarly, the smart and verify commands have the -email parameter set by default. If alerts are enabled and you execute
either of these commands, you will automatically get an email notification when the operation completes. If you do not want to
receive one, you must specify the -noemail parameter when you execute the command.
If you specify the -email parameter and still do not receive an email notification, make sure that the associated alert is
enabled.
Command Syntax
ASMCLI -alert
-category={"category_name"|"category_abbreviation"}
-enable={"alert_ID"}
-disable={"alert_ID"}
-enableall={"category_name"|"category_abbreviation"}
-disableall={"category_name"|"category_abbreviation"}
The value of alert_ID is the numerical value assigned to each alert.
For -category, enter either the category name (Informational, Warning, or Critical) or the abbreviation (I for
Informational, W for Warning, or C for Critical).
For a description of the parameters, see Command Parameters.
Examples
Display all alerts, their numerical IDs, and their current settings (enabled or disabled):
ASMCLI -alert
The following examples show two ways of listing all of the Warning alerts and their current settings:
ASMCLI -alert -category=W
ASMCLI -alert -category=warning
116
Using the Command Line Interface