Set-CsOnlineLisLocation

 

Topic Last Modified: 2016-04-15

Use the Set-CsOnlineLisLocation cmdlet to modify an existing emergency dispatch location. There can be multiple locations in a civic address. Typically the civic address designates the building, and locations are specific parts of that building such as a floor, office, or wing.

Set-CsOnlineLisLocation -CivicAddressId <Guid> [-City <String>] [-CompanyName <String>] [-CountryOrRegion <String>] [-Description <String>] [-HouseNumber <String>] [-HouseNumberSuffix <String>] [-PostalCode <String>] [-PostDirectional <String>] [-PreDirectional <String>] [-StateOrProvince <String>] [-StreetName <String>] [-StreetSuffix <String>] <COMMON PARAMETERS>

Set-CsOnlineLisLocation -LocationId <Guid> [-Location <String>] <COMMON PARAMETERS>

COMMON PARAMETERS: [-CityAlias <String>] [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Tenant <Guid>] [-WhatIf [<SwitchParameter>]]

This example changes the location description of the location specified by its location identity.

Set-CsOnlineLisLocation -LocationId 5aa884e8-d548-4b8e-a289-52bfd5265a6e -Location "B5 2nd Floor"

 

Parameter Required Type Description

CivicAddressId

Required

System.Guid

Specifies the unique identifier of the civic address that contains the location to be modified. Civic address identities can be discovered by using the Get-CsOnlineLisCivicAddress cmdlet.

LocationId

Required

System.Guid

Specifies the unique identifier of the location to be modified. If specified, no other address parameters are allowed. Location identities can be discovered by using the Get-CsOnlineLisLocation cmdlet.

City

Optional

System.String

Specifies the city of the civic address.

CityAlias

Optional

System.String

PARAMVALUE: String

CompanyName

Optional

System.String

Specifies the name of your organization.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing, and requires confirmation to proceed.

CountryOrRegion

Optional

System.String

Specifies the country or region of the civic address.

Description

Optional

System.String

Specifies an administrator defined description of the civic address.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

This parameter is reserved for internal Microsoft use.

Force

Optional

System.Management.Automation.SwitchParameter

The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for administrative input if required.

HouseNumber

Optional

System.String

Specifies the numeric portion of the civic address.

HouseNumberSuffix

Optional

System.String

Specifies the numeric suffix of the civic address. For example, if the property was multiplexed, the HouseNumberSuffix parameter would be the multiplex specifier: "425A Smith Avenue", or "425B Smith Avenue".

Location

Optional

System.String

Specifies an administrator defined description of the new location. For example, "2nd Floor Cafe", "Main Lobby", or "Office 250".

PostalCode

Optional

System.String

Specifies the postal code of the civic address.

PostDirectional

Optional

System.String

Specifies the directional attribute of the civic address which follows the street name. For example, "425 Smith Avenue NE".

PreDirectional

Optional

System.String

Specifies the directional attribute of the civic address which precedes the street name. For example, "425 NE Smith Avenue ".

StateOrProvince

Optional

System.String

Specifies the state or province of the civic address.

StreetName

Optional

System.String

Specifies the street name of the civic address.

StreetSuffix

Optional

System.String

Specifies a modifier of the street name of the civic address. The street suffix will typically be something like street, avenue, way, or boulevard.

Tenant

Optional

System.Guid

This parameter is reserved for internal Microsoft use.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

 
Show: