Dela via


Get-CsConfigurationStoreLocation

 

Topic Last Modified: 2012-03-23

Reports back the location of the Active Directory service control point for the Central Management store.

Syntax

Get-CsConfigurationStoreLocation [-GlobalSettingsDomainController <Fqdn>] [-Report <String>]

Detailed Description

Active Directory Domain Services (AD DS) uses service control points (SCP) to help computers locate services. For example, when you install Microsoft Lync Server 2010, a service control point is created that provides location information for the Central Management store used to maintain Lync Server 2010 data. Computers that need access to the database connect to Active Directory and use the information contained in the SCP to help them locate the correct computer and the correct instance of SQL Server.

The Get-CsConfigurationStoreLocation cmdlet is used to report back the SQL Server path (for example, atl-sql-001.litwareinc.com/rtc) to the computer running the Central Management store.

Parameters

Parameter Required Type Description

GlobalSettingsDomainController

Optional

FQDN

Fully qualified domain name (FQDN) of a domain controller where global settings are stored. If global settings are stored in the Active Directory System container, then this parameter must point to the root domain controller. If global settings are stored in the Configuration container, then any domain controller can be used and this parameter can be omitted.

Report

Optional

String

Enables you to specify a file path for the log file created when the cmdlet runs. For example: -Report "C:\Logs\ConfigurationStore.html"

Input Types

None. Get-CsConfigurationStoreLocation does not accept pipelined input.

Return Types

String. Get-CsConfigurationStoreLocation reports back the location of the configuration store.

Example

-------------------------- Example 1 ------------------------

Get-CsConfigurationStoreLocation

The command shown in Example 1 returns the SQL Server path to the computer (or pool) hosting the Central Management store.

-------------------------- Example 2 ------------------------

Get-CsConfigurationStoreLocation -Report "C:\Logs\ConfigurationStore.html"

Example 2 is a variation of the command shown in Example 1; in this case, however, the Report parameter is included in order to specify a path for the report generated when you run Get-CsConfigurationStoreLocation.