When executing commands and scripts through the command line, user credentials are recorded in the command line history, posing a security risk if the history is not cleared. One method to safeguard user credentials is to utilize Command Manager in the "Interactive Mode".
Command Manager Interactive Mode provides a text-based interface with two distinct modes:
Upon initiating the Interactive session of Command Manager, it enters Console Mode with a connection-less session. When executing the connect command to the Strategy Project Source, omit the password (-p) parameter. This prompts the Command Manager Interactive Mode to request a password, which remains concealed, and is not recorded in the command line history.
cd C:\Program Files (x86)\MicroStrategy\Command Manager
cmdmgr.exe -interactive
connectmstr -n "<Project Source Name>" -u "<User Name>"
connectmstr -n "Strategy Analytics Modules" -u "Administrator"
LOADFILE <file path>
LOADFILE C:\Users\admin\Desktop\LIST_ALL_USER_CONNECTIONS.scp
