Command Line Utility
For more advanced options, like logging in to a different Windows domain, you can access ADE via the command line. This option is recommended for advanced users with console experience. The following table lists the command line parameters.
An example of using the command line parameters is
DiscoveryWizard.exe -q true -server apollo -d contoso
The example specifies that ADE requires no user input, the Asset Discovery Expert server is called "hyperion," the domain to scan is "pino."
|
Parameter |
Arguments |
Default |
Action |
|
-import |
true false |
true |
Controls whether or not to import the discovered resources to the Asset Discovery Expert server. -import true |
|
-settings |
<file path> |
discoverProperties.xml |
Specify the location of the run time options file. -settings discoverProperties.xml |
|
-discover |
true |
true |
Controls whether or not CIs are discovered. Note: Use in conjunction with -q true. -discover true |
|
-server |
true false |
true |
Controls whether or not to import the discovered CIs to the Asset Discovery Expert server. -import true |
|
-r |
<discovered resources file> |
discoverResources.xml |
Specify the location of the previously discovered CIs file. -r discoveredResources3.xml |
|
-c |
<SNMP community string> |
public |
Defines the community string to use. Note: If this is defined, the public community string will not be searched. -c public |
|
-q |
true false |
false |
Controls whether or not ADE should require user input. If used without –profile, the first profile listed alphabetically will be used. Note: If this is set to ‘false’ or not included, the ADE will launch. Use in conjunction with –profile. |
|
-u |
<UserName> |
Windows login username |
Specifies the username to use when scanning Windows CIs. Use in conjunction with –p -u administrator –p changegear1 |
|
-p |
<Password> |
Windows login password |
Specifies the password to use with the username. Use in conjunction with –u -u administrator –p changegear1 |
|
-d |
<Windows Network Domain> |
System’s network domain |
Specifies which network domain to use with the User name and password. Note: Use in conjunction with the –u and -p parameters. -d contoso –u administrator –p changegear |
|
-s |
true |
false |
Stores credentials provided by either –u or –p -s true |
|
-o |
<runtime settings file arguments> false |
undefined |
Overrides values in the runtime settings file. Use “;” to separate multiple arguments. Use double quotes to enclose values with spaces. -o DiscoveryProperties.WindowsNetworkProbe.FilterByIP = false |
|
-profile |
<discovery profile> |
default |
Run the ADE using a specific profile. |
See Also:
Import Credentials from External Tools for Discovery