Previous Topic: Diagnostics and TracingNext Topic: Using the System Engine


Command Line Utility am_sms_ex.exe

The executable performing the actual SCCM extraction work, am_sms_ex.exe, may be launched manually for testing or debugging purposes.

The available command line parameters are:

/s:<servername>

Specifies the name or address of the SCCM Site server from which to extract. Defaults to localhost when not supplied.

/u:<username>

Specifies the user name to use when connecting to the server. Defaults to current user.

/pp:<password>

Specifies the password to use (in plain text). Only used when a user name has also been given.

/c:<site id>

Identifies the site ID of the SCCM installation to contact. Only required if the server contains more than one SCCM installation.

/d:<output directory>

Indicates the directory in which to place any XML files that are produced.

/collect_sw

Extracts software information.

/collect_hw

Extracts hardware information.

/collect_users

Extracts the last logged on user for each computer as a related asset.