The CheckLCServerStateaction checks a servers state and role after activation. Here is sample syntax for the CheckLCServerStateaction.

Copy Code
LCSCmd.exe /<context>[:{Server FQDN}]
/Action:CheckLCServerState /Role:{SE | EE | Proxy | WorkGroupProxy
| AP} [/RefDomain:<Domain FQDN>]
[/PDCRequired[:{TRUE|FALSE}]] [/GlobalSettingsDC:<FQDN of domain
controller>] [/DC:<domain controller FQDN>]
[/GC:<Global Catalog FQDN>] [/Global:{Configuration |
System>} [/GroupDomain:<Group Domain FQDN>]
[/GroupDomainDC:<Group Domain domain controller FQDN>]

Such as:

Copy Code
LCSCmd.exe /Server /Action:CheckLCServerState /Role:SE


Parameter Description


Executes the action for the specified computer. If no FQDN is specified, the current computer is used.


Specifies the role of the server. (Applies to Server context.)


Takes a string that specifies the action name.


Specifies the reference domain FQDN.


Specifies the global setting location.


Specifies the FQDN of the domain where Office Communications Server universal groups are located.


Specifies the log file path. If not specified, %TEMP%\<ActionName>[<Date>][<Time>].html is used. To disable logging specify "-"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.