LCSCmd is a command-line tool that ships with Office Communications Server 2007 R2 (as well as earlier versions). This tool allows you to configure Office Communications Server and Active Directory Domain Services (AD DS) from the command line. Based on the parameters you specify, you can perform actions such as readying AD DS for an Office Communications Server installation, preparing Enterprise pools, activating servers, and managing certificates. This document covers the different parts of the system you can manage (referred to as the contexts) and the various options associated with each of these contexts.