Topic Last Modified: 2017-03-15

Removes a Location Information Server (LIS) subnet. This cmdlet was introduced in Lync Server 2010.

Remove-CsLisSubnet -Subnet <String> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]

Example 1 removes the LIS subnet location entry for the subnet with the IP address The command in this example includes only one (required) parameter: Subnet. The value of the Subnet in this example is an IPv4 address,

If this subnet is associated with a location, that location will not be removed, only the subnet will be removed from the location mapping.

Remove-CsLisSubnet -Subnet

This example removes all subnets that are associated with the location Bldg30/Room1000. The example begins with a call to the Get-CsLisSubnet cmdlet, which returns a collection of all LIS subnets. This collection is piped to the Where-Object cmdlet, which finds the items in that collection that have a Location property that is equal to (-eq) the string Bldg30/Room1000. Finally, we pipe this collection of subnets with that Location to the Remove-CsLisSubnet cmdlet, which removes everything in that collection.

Note that, as in Example 1, no locations are removed from the location configuration database, only the subnets that reference those locations are removed. You can remove locations by calling the Remove-CsLisLocation cmdlet.

Get-CsLisSubnet | Where-Object {$_.Location -eq "Bldg30/Room1000"} | Remove-CsLisSubnet

Enhanced 9-1-1 (E9-1-1) allows an emergency operator to identify the location of a caller without having to ask the caller for that information. In the case where a caller is calling from a Voice over Internet Protocol (VoIP) connection, that information must be extracted based on various connection factors. The VoIP administrator must configure a location map (called a wiremap) that will determine a caller’s location. This cmdlet removes a subnet from the location configuration database. Removing the subnet will not remove the location associated with that subnet. Use the Remove-CsLisLocation cmdlet to remove a location.

If you attempt to remove a subnet that does not exist, no action will be taken and you will not receive an error or a warning message.


Parameter Required Type Description




The IP address of the subnet you want to remove. This value will be an IPv4 address (digits separated by periods, such as




Prompts you for confirmation before executing the command.




Describes what would happen if you executed the command without actually executing the command.

Accepts pipelined input of Location Information Server (LIS) subnet objects.

This cmdlet removes an object of type System.Management.Automation.PSCustomObject.