For each action associated with a context, there are several parameters you can specify. Lets use the Server context as an example. Suppose you want to activate a Standard Edition server. You do this by using the server context with the activate action, like this.
Copy Code | |
---|---|
LCSCmd /server /action:activate |
However, if you run this command youll receive an error. The
Server context applies to several different types of servers:
Standard Edition, Enterprise Edition, Proxy Servers, and Edge
Servers. The preceding command did not specify which type of server
role to activate. To do that, include the
Copy Code | |
---|---|
LCSCmd /server /action:activate /role:SE |
Action parameters will be discussed in detail in the Task-Based Scenarios section. However, there are several parameters that are global to almost all actions and contexts. This table shows a list of parameters you can specify with almost any context or action.
Parameter | Description |
---|---|
|
Specifies the log file path. If not specified, %TEMP%\<ActionName>[<Date>][<Time>].html is used. To disable logging, use a dash character (-) as the log file name. |
/
|
Specifies whether the log file to be generated should be in XML format instead of HTML. |
|
Shows Help on usage. |
LCSCmd also provides a set of parameters for domain controller and global catalog server discovery, listed in the following table. If you specify these parameters at any time during deployment, continue to specify the parameters (and the same parameter values) for subsequent actions.
Parameter | Description |
---|---|
|
Specifies whether the primary domain controllers (PDCs) are
required for the action. If not specified,
For most network issues,
|
|
Specifies the fully qualified domain name (FQDN) of the global
catalog server that you want to use. You must also specify
|
|
Specifies the FQDN of a domain controller in the domain where
Office Communications Servers reside. You must also specify
|
|
Specifies the FQDN of the domain controller (DC) of a global settings domain. If the settings are in a configuration container this must be a local domain DC. If the settings are in the system container, this must be a root DC. |
|
Specifies the FQDN of a domain controller in the domain where
Office Communications Server universal groups are located. You must
also specify
|
When you run LCSCmd.exe, the command automatically discovers the global catalog server and PDCs. If you experience problems because these servers are unavailable or network connectivity is poor, you can use these optional parameters to specify the global catalog server or domain controllers to use instead.