Skip to main content

unmanage device

This command unmanages a managed device.

This command starts a job to perform the unmanagement action. If successful, the job ID is returned. You can use the job ID in the tasks –j command or the unmanage job_status command to determine the status of the job.

Syntax

unmanage device -h

unmanage device -e <device_properties> [--force <Boolean>]

Options

{-h | --help}
Displays the syntax and brief usage information for this command.
{-e | --ep} <device_properties>
Specifies a set of properties for one or more devices to be unmanaged.
Each set is separated by a comma, and each property in the set is separated by a semicolon. The properties include:
  • One or more IP addresses, separated by a hash sign (#).

  • The UUID of the device

  • The type of device to be unmanaged. You can specify one of the following values:
    • Chassis

    • Rackswitch

    • Rack-Tower

    • Storage

    • ThinkServer

For example:

2.22.222.222#3.33.333.333;F6F5A2630C244FDD9DE5376812C55480;Chassis,
4.44.444.444;63E29269BB634AB9A610D6F8FCE2B28F;Rack-Tower Server
{--force} <Boolean>

Forces the unmanagement of a device. You can specify one of the following values:

  • true

  • false

{-v | --view} <filter>
Identifies the view to use for the returned data. If a filter is not specified, the default view is used.

You can also create custom views (see Creating custom views).

Examples

The following example unmanages a device with a specific IP address.

connect --url https://192.0.2.0 --user ADMIN --noverify
unmanage device –e 192.0.2.44;AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA;Rack-Tower Server