Set-CsOnlineLisLocation

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.

Syntax

Set-CsOnlineLisLocation
   -CivicAddressId <guid>
   [-City <string>]
   [-CityAlias <string>]
   [-CompanyName <string>]
   [-CompanyTaxId <string>]
   [-Confidence <string>]
   [-CountryOrRegion <string>]
   [-Description <string>]
   [-Elin <string>]
   [-Force]
   [-HouseNumber <string>]
   [-HouseNumberSuffix <string>]
   [-Latitude <string>]
   [-Longitude <string>]
   [-PostalCode <string>]
   [-PostDirectional <string>]
   [-PreDirectional <string>]
   [-StateOrProvince <string>]
   [-StreetName <string>]
   [-StreetSuffix <string>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CsOnlineLisLocation
   -LocationId <guid>
   [-CityAlias <string>]
   [-Confidence <string>]
   [-Elin <string>]
   [-Force]
   [-Latitude <string>]
   [-Longitude <string>]
   [-Location <string>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Examples

Example 1

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

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

Parameters

-City

Specifies the city of the civic address.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-CityAlias

Note: This parameter has been deprecated from the Teams PowerShell Module version 3.0.0 or later.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-CivicAddressId

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.

Note: This parameter is not supported and will be deprecated.

Type:Guid
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-CompanyName

Specifies the name of your organization.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-CompanyTaxId

The company tax ID.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-Confidence

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-Confirm

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

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-CountryOrRegion

Specifies the country or region of the civic address.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-Description

Specifies an administrator defined description of the civic address.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-Elin

Specifies the Emergency Location Identification Number. This is used in Direct Routing EGW scenarios.

Note: You can set or change the ELIN, but you can't clear its value. If you need to clear the value, you should recreate the location.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-Force

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.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-HouseNumber

Specifies the numeric portion of the civic address.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-HouseNumberSuffix

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".

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-Latitude

Specifies the angular distance of a place north or south of the earth's equator using the decimal degrees format.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-Location

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-LocationId

Specifies the unique identifier of the location to be modified. Location identities can be discovered by using the `Get-CsOnlineLisLocation` cmdlet.

Type:Guid
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-Longitude

Specifies the angular distance of a place east or west of the meridian at Greenwich, England, using the decimal degrees format.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-PostalCode

Specifies the postal code of the civic address.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-PostDirectional

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

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-PreDirectional

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

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-StateOrProvince

Specifies the state or province of the civic address.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-StreetName

Specifies the street name of the civic address.

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-StreetSuffix

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

Note: This parameter is not supported and will be deprecated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teans

-WhatIf

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.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams