Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Help (CmdLine)

Communications Server 2007 R2

Topic Last Modified: 2009-03-11

LCSCmd is very good about giving you help - all you have to do is ask. Simply place a slash mark and a question mark (/?) at the end of the command you need help with.

This command will list all of the available contexts.

LCSCmd /?

This command will list all the actions available for the given context.

LCSCmd /<context> /?

For example, use the following command to retrieve all the actions available for the Domain context.

LCSCmd /domain /?

This command will list all the parameters available for the given action for the specified context.

 LCSCmd /<context> /action:<action> /?

For example, you would use the following command to determine the required and optional parameters for activating an Archiving Server.

LCSCmd /archiving /action:activate /?

How do you know whether a parameter is required or optional? Simply look at the syntax returned by the Help. Here's some of what you would see from the previous command.

/Archiving:<Archiving server FQDN> /Action:<action name>
[/RefDomain:<Domain FQDN> ][/PDCRequired:[TRUE:FALSE] ]
[/GlobalSettingsDC:<DC FQDN> ]/DC:<DC FQDN> ]
[/GC:<GC FQDN> ][/Global:<Configuration | System> ]
[/L:<log file path> ][/XML:[TRUE|FALSE] ][/?:[TRUE|FALSE] ]

Everything within square brackets [] is optional; everything that's not in square brackets is required. Mutually exclusive items are separated by a vertical bar ( | ). One of the options separated by the vertical bar can be specified but not multiple options. When a parameter can contain one or more values, these values are separated by a comma.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.