Get-CsManagementConnection

 

Topic Last Modified: 2012-03-23

Returns information about the management connection to the Central Management store.

Syntax

Get-CsManagementConnection

Detailed Description

Configuration data for Microsoft Lync 2010 is stored in the Central Management store; it is crucial that both Windows PowerShell and the management replica services be able to locate this database. When you install Microsoft Lync Server 2010, a service control point is created in Active Directory Domain Services (AD DS) that provides location information for this database. Typically, computers rely on this service control point in order to connect to the Central Management store. To see the details behind this connection (that is, if you want to know which computer the Central Management store is running on, as well information about the SQL Server connection to that Central Management store) you can run the Get-CsManagementConnection cmdlet.

If you have used the Set-CsManagementConnection cmdlet to set up a temporary management connection for your current instance of Windows PowerShell (for example, in order to work from the local replica), Get-CsManagementConnection will report back information for that temporary connection. By comparison, the Get-CsConfigurationStoreLocation always returns information for the service control point in Active Directory, regardless of where the local management connection is pointed.

Who can run this cmdlet: By default, members of the following groups are authorized to run the Get-CsManagementConnection cmdlet locally: RTCUniversalUserAdmins, RTCUniversalServerAdmins, RTCUniversalReadOnlyAdmins. To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Get-CsManagementConnection"}

Parameters

Parameter Required Type Description

Verbose

Optional

Switch Parameter

Reports detailed activity to the screen as the cmdlet runs.

Input Types

None. Get-CsManagementConnection does not accept pipelined input.

Return Types

Get-CsManagementConnection returns instances of the Microsoft.Rtc.Management.Xds.ManagementConnection object.

Example

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

Get-CsManagementConnection

The command in Example 1 returns information about the management connection to the Central Management store.