New-CsOnlineLisCivicAddress

Use the New-CsOnlineLisCivicAddress cmdlet to create a civic address in the Location Information Service (LIS.)

Syntax

New-CsOnlineLisCivicAddress
   [-HouseNumber <String>]
   [-HouseNumberSuffix <String>]
   [-StreetName <String>]
   [-StreetSuffix <String>]
   [-PostDirectional <String>]
   [-PreDirectional <String>]
   [-City <String>]
   [-CityAlias <String>]
   [-StateOrProvince <String>]
   -CountryOrRegion <String>
   [-PostalCode <String>]
   [-Description <String>]
   -CompanyName <String>
   [-CompanyTaxId <String>]
   [-ValidationStatus <String>]
   [-Latitude <String>]
   [-Longitude <String>]
   [-Confidence <String>]
   [-Elin <String>]
   [-Tenant <Guid>]
   [-DomainController <Fqdn>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Because each civic address needs at least one location to assign to users, creating a new civic address also creates a default location. This is useful in cases where a civic address has no particular sub-locations. In that scenario you can create the civic address using the New -CsOnlineLisCivicAddress cmdlet and use the default location identifier for assignment to users. The example output from the Get-CsOnlineLisCivicAddress below shows the DefaultLocationId property.

CivicAddressId : 51a8a6e3-dae4-4653-9a99-a6e71c4c24ac

HouseNumber :

HouseNumberSuffix :

PreDirectional :

StreetName :

StreetSuffix :

PostDirectional :

City :

PostalCode :

StateOrProvince :

CountryOrRegion : US

Description :

CompanyName : MSFT

DefaultLocationId : 75301b5d-3609-458e-a379-da9a1ab33228

ValidationStatus : NotValidated

NumberOfVoiceUsers : 0

Examples

-------------------------- Example 1 --------------------------

New-CsOnlineLisCivicAddress -HouseNumber 3910 -StreetName Smith -StreetSuffix Street -PostDirectional NE -City Redmond -StateorProvince Washington -Country US -PostalCode 98052 -Description "West Coast Headquarters" -CompanyName Contoso

This example creates a new civic address described as "West Coast Headquarters": 3910 Smith Street NE, Redmond WA, 98052.

-------------------------- Example 2 --------------------------

New-CsOnlineLisCivicAddress -Latitude 12 -Longitude 34 -HouseNumber 567 -StreetName Main -StreetSuffix St -City Springfield -StateOrProvince WA -CountryOrRegion US -PostalCode 98052 -CompanyName Contoso -Elin MICROSOFT_ELIN -Description "R&D office"

This example creates a new civic address described as "R&D office", with latitude, longitude and ELIN.

Parameters

-City

Specifies the city of the new civic address.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-CityAlias

PARAMVALUE: String

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-CompanyName

Specifies the name of your organization.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-CompanyTaxId

PARAMVALUE: String

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Confidence

This parameter is reserved for internal Microsoft use.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

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

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-CountryOrRegion

Specifies the country or region of the new civic address. Needs to be a valid country code as contained in the ISO 3166-1 alpha-2 specification.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Description

Specifies an administrator defined description of the new civic address.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-DomainController

This parameter is reserved for internal Microsoft use.

Type:Fqdn
Aliases:DC
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Elin

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-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:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-HouseNumber

Specifies the numeric portion of the new civic address.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-HouseNumberSuffix

Specifies the numeric suffix of the new 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
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Latitude

Specifies the angular distance of a place north or south of the earth's equator.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Longitude

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PostDirectional

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-PostalCode

Specifies the postal code of the new civic address.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-PreDirectional

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-StateOrProvince

Specifies the state or province of the new civic address.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-StreetName

Specifies the street name of the new civic address.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-StreetSuffix

Specifies the street type of the new civic address. The street suffix will typically be something like street, avenue, way, or boulevard.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Tenant

This parameter is reserved for internal Microsoft use.

Type:Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-ValidationStatus

PARAMVALUE: String

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-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
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Inputs

None

Outputs

None