Skip to main content

canceltask command

Use the canceltask command to cancel the update task staged in XCC2 on the ThinkSystem V3 systems.

canceltask command syntax

Usage: OneCli.exe update canceltask [--bmc|-b <arg>] [--bmc-username|-u <arg>]
[--bmc-password|-w <arg>] [--bmc-rest-port|-p <int>]
[--taskid <arg>] [--xml]
[--check-trust|-C] [--never-check-trust|-N]
[--quiet|-q] [--output|-o <arg>]
[--nolog] [--config <arg>]
[--help|-h]
Table 1. canceltask command specific parameters
ParameterRequired/OptionalNotes
--taskidOptionalSpecify the staged update task ID.
--xmlOptionalSpecify the output XML.
  • --bmc-password, -w

  • --bmc-rest-port

  • --bmc-username, -u

  • --check-trust, -C

  • --config

  • --help, -h

  • --never-check-trust, -N

  • --nolog

  • --output, -o

  • --quiet, -q

Optional

Refer to Table 2.

Example of the canceltask command

OneCli.exe update canceltask --taskid "314e2aa0-5192-4bf1-8d62-23ba990df67d"
--bmc userid:password@host