Checking the Server State (Command Line)

Dernière rubrique modifiée : 2009-03-11

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

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:

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

Where:

Parameter Description

<context>

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

/Role

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

/Action

Takes a string that specifies the action name.

/RefDomain

Specifies the reference domain FQDN.

/Global

Specifies the global setting location.

/GroupDomain

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

/L

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

/XML

Specifies whether the log file to be generated should be in XML format instead of HTML.

/?

Shows Help on usage.