Data Capture can be used either by the UI or Command Line. The UI basically calls the Command line tool with all paramenters.
The command line tool, uses the following files:
- adminui.wqlqueryengine.dll;
- CollectData.exe
- Functions.dll;
- healthcheck.xml
- Logs.dll
- microsoft.configurationmanagement.dll
- microsoft.configurationmanagement.managementprovider.dll
- Security.dll
- WMIUtil.dll
It has been created to help consultants when running the tool on a customer environment, where there is no need to install any file. Ideal to run from the site server itself.
To Capture Data using the UI, click on Collect Data and then on Collect Data
On Welcome to the Wizard, click Next
On Connection, you need to provide the server name of the SCCM Server (if it is local, click on localhost). Click Next when done
On Credentials, if the logged user does not have enough access to the SCCM Server, you need provide alternative credentials. Click Next when done
Note: To use alternative credentials, the computer where running the tool and the credentials must be on a trusted domain or the tool will only be able to collect WMI data.
On Site settings, only select Force Settings if you want the tool to use specific primary site code, sql server and SCCM Database. Click Next when done
Note: using Force Settings is util when you don't want to query the live server but a replica.
On Collection Data, select the type of data you want to collect as well as where the collected data will be saved. Click Next when done
On Completing the Wizard, click Finish to start the expor to Word 2010
To Capture data using the command line, open a command line and use the Collectdata.exe

the parameters that can be used are:
/servername Optional. SMSProvider Name. If not used, localhost will be used.
/username Optional. Used when the logged user doesn't have access to the SMS Provider. Ignored when servername=localhost
/password Required when using /username
/domain Required when using /username
/SiteCode Optional. When used, will use the site code instead of querying the SMS Provider
/SQLServer Optional. When used, will use the SQL Server instead of querying the SMS Provider
/Database Optional. When used, will use the Database instead of querying the SMS Provider
/path Required. Where all xml files are going to be save.
/type Optional. Can be: documentation, healthcheck or both. if not used, both will be used
/query Optional. Can be: all, wql, sql, vbs, evt, reg. if not used, all will be used. If more than 1, use ;. ie: "wql;sql;vbs"
/Debug Optional. When used, will print all messages as well as writting it to the log file