Dela via


Debug-CsLisConfiguration

 

Topic Last Modified: 2012-03-23

Displays the Enhanced 9-1-1 (E9-1-1) Location Information service (LIS) configuration in XML format.

Syntax

Debug-CsLisConfiguration [-Force <SwitchParameter>] [-LocalStore <SwitchParameter>]

Detailed Description

The LIS configuration for an Enterprise Voice E9-1-1 implementation is stored in compressed format. This cmdlet un-compresses the configuration and displays it in XML format. This can make it quicker to debug issues with a configuration.

This cmdlet retrieves the location information from the Central Management store. When this information is created, it is stored in the location database; it does not move to the Central Management store until it is published with the Publish-CsLisConfiguration cmdlet. If the location information has not been published (or has been un-published with the Unpublish-CsLisConfiguration cmdlet), Debug-CsLisConfiguration will not return anything.

Who can run this cmdlet: By default, members of the following groups are authorized to run the Debug-CsLisConfiguration cmdlet locally: RTCUniversalServerAdmins. 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 "Debug-CsLisConfiguration"}

Parameters

Parameter Required Type Description

Force

Optional

SwitchParameter

Suppresses any confirmation prompts that would otherwise be displayed before making changes.

LocalStore

Optional

SwitchParameter

Allows you to specify a domain controller. If no domain controller is specified, the first available will be used.

Input Types

None.

Return Types

Returns an object of type System.Management.Automation.PSCustomObject.

Example

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

Debug-CsLisConfiguration | Format-Table -Wrap

Running this command will display the entire LIS configuration to the Lync Server Management Shell window in XML format. By default, the output of Debug-CsLisConfiguration is displayed on one line, with an ellipsis (…) at the end of the line indicating that there’s more than one line of data. Therefore, in this example we pipe the output to the Format-Table cmdlet, specifying the Wrap parameter, to display the full output wrapped to fit in the display window.