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
UseCivicAddressId (Default)
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>]
[-IsAzureMapValidationRequired <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UseLocationId
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
Applicable: Microsoft Teams
Specifies the city of the civic address.
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-CityAlias
Applicable: Microsoft Teams
Note: This parameter has been deprecated from the Teams PowerShell Module version 3.0.0 or later.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-CivicAddressId
Applicable: Microsoft Teams
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.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-CompanyName
Applicable: Microsoft Teams
Specifies the name of your organization.
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-CompanyTaxId
Applicable: Microsoft Teams
The company tax ID.
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Confidence
Applicable: Microsoft Teams
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Confirm
Applicable: Microsoft Teams
The Confirm switch causes the command to pause processing and requires confirmation to proceed.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-CountryOrRegion
Applicable: Microsoft Teams
Specifies the country or region of the civic address.
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Description
Applicable: Microsoft Teams
Specifies an administrator defined description of the civic address.
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Elin
Applicable: Microsoft Teams
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Force
Applicable: Microsoft Teams
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.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-HouseNumber
Applicable: Microsoft Teams
Specifies the numeric portion of the civic address.
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-HouseNumberSuffix
Applicable: Microsoft Teams
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-IsAzureMapValidationRequired
Applicable: Microsoft Teans
This parameter is reserved for internal Microsoft use.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Latitude
Applicable: Microsoft Teams
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Location
Applicable: Microsoft Teams
Specifies an administrator defined description of the new location. For example, "2nd Floor Cafe", "Main Lobby", or "Office 250".
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseLocationId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-LocationId
Applicable: Microsoft Teams
Specifies the unique identifier of the location to be modified. Location identities can be discovered by using the `Get-CsOnlineLisLocation` cmdlet.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseLocationId
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Longitude
Applicable: Microsoft Teams
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-PostalCode
Applicable: Microsoft Teams
Specifies the postal code of the civic address.
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-PostDirectional
Applicable: Microsoft Teams
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-PreDirectional
Applicable: Microsoft Teams
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-StateOrProvince
Applicable: Microsoft Teams
Specifies the state or province of the civic address.
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-StreetName
Applicable: Microsoft Teams
Specifies the street name of the civic address.
Note: This parameter is not supported and will be deprecated.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-StreetSuffix
Applicable: Microsoft Teans
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UseCivicAddressId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-WhatIf
Applicable: Microsoft Teams
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.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.