All server-related contexts come with a
Copy Code | |
---|---|
LCSCmd.exe /Archive[:<Server FQDN>] /Action:Deactivate |
The one case that's different is the Server context. For the Server context you must also specify the role of the server you're deactivating.
Copy Code | |
---|---|
LCSCmd.exe /Server[:<Server FQDN>] /Role:<name> /Action:Deactivate [/Force] |
Such as:
Copy Code | |
---|---|
LCSCmd.exe /Server /Role:SE /Action:Deactivate /Force |
For Edge Servers, the
Copy Code | |
---|---|
LCSCmd.exe /Server[:<Server FQDN>] /Role:AP /Components:{AP,DP,MR} /Action:Deactivate [/Force] |
Such as:
Copy Code | |
---|---|
LCSCmd.exe /Server /Role:AP /Components:AP,DP /Action:Deactivate |
Where:
|
|
---|---|
|
Executes the action for the specified server FQDN. /server - deactivates the local server. /server:<remoteComputerFQDN> - deactivates the role on the remote computer. |
|
Specifies the role of the server. |
|
Specifies the component roles available on an Office Communications Server 2007 R2 Edge Server. Components are separated by commas. You must specify at least one Edge Server role, or activation will fail. Valid values are: AP to deactivate Access Edge Server DP to deactivate Web Conferencing Edge Server MR to deactivate A/V Edge 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 global setting location. |
|
Specifies the FQDN of the domain where Office Communications Server universal groups are located. |
|
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. |
Note: |
---|
The
LCSCmd.exe /Server:<FQDN> /Action:Deactivate /Role:SE /Refdomain:<FQDN> |