Get-CsConfigurationStoreLocation

Reports back the location of the Active Directory service control point for the Central Management store. This cmdlet was introduced in Lync Server 2010.

Syntax

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

Description

Active Directory Domain Services uses service control points (SCP) to help computers locate services. For example, when you install Skype for Business Server, a service control point is created that provides location information for the Central Management store used to maintain Skype for Business Server 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.

Examples

-------------------------- 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 the Get-CsConfigurationStoreLocation cmdlet.

Optional Parameters

-GlobalSettingsDomainController

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.

Type:Fqdn
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2010, Lync Server 2013, Skype for Business Server 2015
-Report

Enables you to specify a file path for the log file created when the cmdlet runs. For example:

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2010, Lync Server 2013, Skype for Business Server 2015

Inputs

None

Outputs

String

The Get-CsConfigurationStoreLocation cmdlet reports back the location of the configuration store.