New-CsOnlineLisLocation
Use the New-CsOnlineLisLocation cmdlet to either to create a new emergency dispatch location within an existing civic address, or to create both a new civic address and a location assigned to that address. 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
New-CsOnlineLisLocation
-Location <string>
-CivicAddressId <guid>
[-CityAlias <string>]
[-CompanyName <string>]
[-CompanyTaxId <string>]
[-Confidence <string>][-Elin <string>]
[-Force]
[-HouseNumberSuffix <string>]
[-Latitude <string>]
[-Longitude <string>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-CsOnlineLisLocation
-Location <string>
-CountryOrRegion <string>
[-CityAlias <string>]
[-CompanyName <string>]
[-CompanyTaxId <string>]
[-Confidence <string>][-Elin <string>]
[-Force]
[-HouseNumberSuffix <string>]
[-Latitude <string>]
[-Longitude <string>]
[-City <string>]
[-Description <string>]
[-HouseNumber <string>][-PostalCode <string>]
[-PostDirectional <string>]
[-PreDirectional <string>]
[-StateOrProvince <string>]
[-StreetName <string>]
[-StreetSuffix <string>][-WhatIf]
[-Confirm]
[<CommonParameters>]
Examples
Example 1
New-CsOnlineLisLocation -CivicAddressId b39ff77d-db51-4ce5-8d50-9e9c778e1617 -Location "Office 101, 1st Floor"
This example creates a new location called "Office 101, 1st Floor" in the civic address specified by its identity.
Example 2
New-CsOnlineLisLocation -Location "Office 202, 2nd Floor" -CompanyName "Contoso" -HouseNumber 3910 -StreetName 163rd -StreetSuffix St -City Bellevue -StateOrProvince WA -CountryOrRegion US -PostalCode 98004 -Description "New civic address location" -Elin TEST_ELIN -Latitude 47.64499 -Longitude -122.12219
This example creates a new civic address and a location assigned to the address. Location is called "Office 202, 2st Floor" with Elin string "TEST_ELIN" and latitude and longitude set.
Parameters
-City
Specifies the city of the civic address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-CityAlias
Specifies the city alias.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-CivicAddressId
Specifies the unique identifier of the civic address that will contain the new location. If specified, no other address description parameters are allowed. Civic address identities can be discovered by using the Get-CsOnlineLisCivicAddress cmdlet.
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.
Type: | String |
Aliases: | Name |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-CompanyTaxId
The company tax ID.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-Confidence
This parameter is reserved for internal Microsoft use.
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.
Type: | String |
Aliases: | Country |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-Description
Specifies an administrator defined description of the civic address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-Elin
Specifies the Emergency Location Identification Number. This is used in Direct Routing EGW scenarios.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-Force
Suppresses the display of any non-fatal error message that might arise when running the command.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-HouseNumber
Specifies the numeric portion of the civic address.
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".
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.
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: | 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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-PostalCode
Specifies the postal code of the civic address.
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".
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 ".
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.
Type: | String |
Aliases: | State |
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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-StreetSuffix
Specifies the modifier of the street name. The street suffix will typically be something like street, avenue, way, or boulevard.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-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 |
Related Links
Comentarios
Enviar y ver comentarios de