Use the following syntax example to activate a Proxy Server.
Copy Code | |
---|---|
LCSCmd.exe /Server[:<Server FQDN>] /Role:Proxy /Action:Activate /Password:<Account Password> [/User:<Account Name>] [/RefDomain:<Domain FQDN>] [/PDCRequired[:{TRUE|FALSE}]] [/GlobalSettingsDC:<FQDN of a global settings domain controller>] [/DC:<domain controller FQDN>] [/GC:<Global Catalog FQDN>] [/Global:{Configuration | System}] [/GroupDomain:<Group Domain FQDN>] [/GroupDomainDC:<Group Domain domain controller FQDN>] [/User:<Account Name>] [/NoStart[:{TRUE|FALSE}]] [/Force[:{TRUE|FALSE}]] [/L:<log file path>] [/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]] |
Such as:
Copy Code | |
---|---|
LCSCmd.exe /Server:srvPS.contoso.com /Role:Proxy /Action:Activate /Password:My$tr0ngPwd |
Where:
|
|
---|---|
|
Executes the action for the specified server FQDN. /server - activates the local server. /server:<remoteComputerFQDN> - activates a role on the remote computer. |
|
Specifies the role of the server. |
|
Takes a string that specifies the action name. Valid action
names include
|
|
Specifies the service account password for the server. |
|
Specifies the reference domain FQDN. |
|
Specifies the service account name for the server. It defaults
to
|
|
Specifies the global setting location. |
|
Specifies the FQDN of the domain where Office Communications Server universal groups are located. |
|
Specifies whether to start the LC service on the server during activation. |
|
Specifies whether to force task execution. |
|
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. |