Searching...
Filters
SmallMediumLarge
Home Print Show Topic URL Previous Next
IT Management Suite
Client Management Suite
Server Management Suite
Deployment Solution
Asset Management Suite
ServiceDesk

Creating a custom inventory script task

Client Management Suite for Mac

After you have created the custom inventory data class, you create and configure a custom inventory script task that gathers the custom inventory.

See Creating and configuring a data class

To create a custom inventory script task, you can clone a sample script task and configure it with the custom data classes that you created. You can also create and configure a custom inventory script task on the Jobs and Tasks portal page.

When you configure your custom inventory script, you can insert tokens in the script and create or edit tokens.

See Running a job or task

See About gathering custom inventory

See Gathering custom inventory

To clone a sample custom inventory script task

  1. In the Symantec Management Console, on the Manage menu, click Jobs and Tasks.

  2. In the left pane, under Jobs and Tasks, expand Samples > Discovery and Inventory > Inventory samples > Custom.

  3. Right-click the sample custom inventory script task, and then click Clone.

  4. In the Clone dialog box, give the cloned script a descriptive name and click OK.

  5. (Optional) Configure the sample script, and then click Save changes.

    See Configuring the custom inventory sample script for Windows

    See Configuring the custom inventory sample script for UNIX, Linux, and Mac

  6. Under Task Status, do one of the following:

    • To schedule the task to run on managed computers, click New Schedule.

    • To perform a quick run of the task on managed computers, click Quick Run.

  7. Click Save changes.

To create a custom inventory script task

  1. In the Symantec Management Console, on the Manage menu, click Jobs and Tasks.

  2. In the left pane, navigate to the folder where you want to create a custom inventory script task, right-click the folder, and then click New > Task.

    For example, to create a task in the Jobs and Tasks folder, right-click Jobs and Tasks, and then click New > Task.

    To create a task in the Inventory folder, expand Jobs and Tasks > System Jobs and Tasks > Discovery and Inventory, right-click Inventory, and then click New > Task.

  3. In the Create New Task dialog box, in the left pane, click Run Script.

  4. In the right pane, type a descriptive name for the task.

  5. In the Script type drop-down list, click the script type.

  6. Enter your own script or copy a sample custom inventory script to the script editor.

    To insert a token to your custom inventory script, do the following:

    • In the Insert token drop-down list, click the token that you want to insert.

    • Click Insert.

    To access a sample custom inventory script, do the following:

    • In the Symantec Management Console, on the Manage menu, click Jobs and Tasks.

    • In the left pane, under Jobs and Tasks, expand Samples > Discovery and Inventory > Inventory samples > Custom.

  7. (Optional) In the Create New Task dialog box, in the script editor, configure the script.

    See Configuring the custom inventory sample script for Windows

    See Configuring the custom inventory sample script for UNIX, Linux, and Mac

  8. (Optional) To configure the advanced options for running the custom inventory script task, do the following:

    • Click Advanced, and then, on the Script tab, configure the options according to your needs.

    • In the Task options tab, configure the settings for running the script task, and the maximum possible length of the script task.

    • Click OK.

  9. In the Create New Task dialog box, click OK.

  10. On the Run Script page, under Task Status, do one of the following:

    • To schedule the task to run on managed computers, click New Schedule.

    • To perform a quick run of the task on managed computers, click Quick Run.

  11. Click Save changes.

The next step is to wait for the client computers to receive the new task and report the results, and then view the data that is stored in the Configuration Management Database (CMDB).

See Viewing inventory data in the Resource Manager