Edit

Share via


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

Default (Default)

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.

Parameters

-GlobalSettingsDomainController

Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

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.

Parameter properties

Type:Fqdn
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Report

Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

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

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

String

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