Example:
@ECHO OFF
REM This script will run full discovery for INCHARGE-AM
cd C:\InCharge6\IP\smarts\bin
sm_tpmgr -s INCHARGE-AM --discover-all
PAUSE
If you are using *:*:<PROMPT>:<PROMPT> in your clientConnect.conf file, found in <BASEDIR>/IP/smarts/local/conf, you will be prompted for the username and password. You can comment out *:*:<PROMPT>:<PROMPT> to get around this.
<BASEDIR>/IP/smarts/bin/sm_edit conf/clientConnect.conf
#*:*:<PROMPT>:<PROMPT>
You will need to make sure that this still meets your security policies set for Smarts. Please review the System Admin Guide for more detail on the authentication procedure.