This section includes information on syntax and syntax parameters used in Chatcmd.
Chatcmd ServerList /Switch[=Parameter=ValueList]
Some switches use a colon (:) instead of an equal sign (=) when specifying a parameter. For example, the syntax for AddChannel is "chatcmd server /addchannel:channel." For information on correct use, see the Syntax section for each switch. See the section on conventions used in syntax for help in reading command syntax. See the section on using response files for the syntax when using response files.
| ServerList | Specification of servers on which to perform the command, in the form Server1,Server2,Server3.... Some switches require that only a single server is specified, and are so noted. Use the asterisk (*) to indicate the default (usually local) server. |
| /Switch | Multiple switches can be specified with one instance of Chatcmd.exe. Use a space between each additional switch and the previous syntax part (usually a parameter or value). Switches can appear in any sequence; however, grouping common functions can improve performance. |
| Parameter | Parameters are required for some switches, but are optional for others. Multiple parameters, in the form Parameter1,Parameter2,Parameter3..., can be specified with one instance of a switch. Multiple parameters are separated by commas, with no spaces in between. |
|   | Note Unicode arguments can be used by specifying a Unicode file for the argument. |
| ValueList | Values are required for some parameters, but are not applicable for others. Multiple values, in the form Value1,Value2,Value3..., may be specified for some parameters. Multiple values are separated by commas, with no spaces in between. They must be in the correct order. Use an asterisk (*) to set or return a value to the default, and a number sign (#) to leave a value as it is currently. |
chatcmd server1,server2 /setadmin="This is the Admin Message String." /getadmin | |
| Specifies the ANSI and Unicode administration information string on Server1 and Server2, and then returns the string. | |
chatcmd * /setsecurity:"DPA",yes,yes /setadmin="This is the Admin Message String." | |
| Sets the security package on the default server to DPA and disables both NTLM and Clear Text, then specifies the ANSI and Unicode administration information string. | |
chatcmd myserv01 /setadmin_w=@unicode.txt | |
| Sets the Unicode administration string on Myserv01 with the text in the Unicode.txt file. |