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

Stand-alone inventory package command-line switches

Inventory Solution

When you run a stand-alone inventory package, the package uses the options that you specified when you created the package. When you run a package, you can use command-line switches to modify default behavior.

See Stand-alone inventory package options

See Running stand-alone inventory packages on target computers

These switches are not case-sensitive.

Table: Stand-alone inventory package command-line switches

Command-line switch

Description

/EnableVerboseLog

By default, all the errors are logged. If you specify /EnableVerboseLog at the command line, it enables verbose logging. If verbose logging is enabled, the trace messages are also logged.

The log is stored on the local computers at the following locations:

  • On managed computers, in InstallDir\Altiris\Altiris Agent\Logs folder, as Agent*.log

  • On unmanaged computers, in %ProgramFiles%\Altiris\Altiris Agent\Logs folder, as a*.log.

/SendChangedInventory

By default, a stand-alone inventory package reports all the gathered inventory data. If you use this switch, the package reports only the inventory data that has changed since the last scan.

To gather only changed data, the package compares the gathered inventory data to the previously collected data, if the previous data was cached. To cache inventory data, check Keep the inventory cached for future comparisons in the package configuration page.

See Creating, editing, or cloning stand-alone inventory packages

If no previous inventory data is present, all gathered inventory is reported.

If you have multiple Notification Servers, do not use this option if you report data to a server that does not have any previously gathered data stored on it.

/SendInventoryTo destination

Use this switch to override the value for the Send inventory data to option that is specified in the stand-alone package.

The destination can be either an http(s) link to the Notification Server computer or a folder path. For example, you can store the NSE on a USB drive.

You can use environment variables when specifying the destination.

For example, you can use the following command:

package_name.exe /SendInventoryTo \\server_name\Inventory\%COMPUTERNAME%.

This command creates a separate folder for each computer at \server_name\Inventory and stores the NSEs in that folder. The folder is the same as the target computer's name.