3.4.0 Matrix Server Command Reference

Chapter 2: mx Commands 47
Copyright © 1999-2006 PolyServe, Inc. All rights reserved.
The mxgenpass.exe command asks for a password and then displays the
encrypted version:
mxgenpass.exe
Enter password:
06c684c5:8cCRCT1aVCjzWb/TL7IHThBmrgY1wkBV6pElkzNr7ZI=
Replace the password in the .matrixrc file with the encrypted password. For
example, you could encrypt the password (secret1) for the entry:
srv1 admin secret1
Then specify the encrypted password in the password field:
srv1 admin 06c684c5:8cCRCT1aVCjzWb/TL7IHThBmrgY1wkBV6pElkzNr7ZI=
mx syntax
The mx utility is in the installation directory, which is typically
%SystemDrive%\Program Files\PolyServe\MatrixServer\bin.
The mx utility has the following syntax:
mx [mx_options] class command [command_options]
The mx_options affect an entire mx command session. The options are:
--help
Displays a command summary.
--matrix <matrix>
Specifies the matrix that you want to connect with. matrix can be any node
in the matrix.
--config <file>
Specifies an alternate configuration file to be consulted for server, user,
and password information. The file must have the same format as matrixrc.
--file <file>
Executes the commands from the specified file. If you specify – instead of a
file, the commands will be read from standard input. You can also specify
--continue to tell mx to continue processing the batch file if an error
occurs.