Set-CsOnlineLisCivicAddress

 

上次修改主題的時間:2017-06-20

Use the Set-CsOnlineLisCivicAddress cmdlet to modify an existing civic address which has not been validated. Validated civic addresses cannot be modified.

Set-CsOnlineLisCivicAddress -CivicAddressId <Guid> [-City <String>] [-CityAlias <String>] [-CompanyName <String>] [-CompanyTaxId <String>] [-Confirm [<SwitchParameter>]] [-CountryOrRegion <String>] [-Description <String>] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-HouseNumber <String>] [-HouseNumberSuffix <String>] [-PostalCode <String>] [-PostDirectional <String>] [-PreDirectional <String>] [-StateOrProvince <String>] [-StreetName <String>] [-StreetSuffix <String>] [-Tenant <Guid>] [-ValidationStatus <String>] [-WhatIf [<SwitchParameter>]]

This example modifies the description and company name of the civic address with the identity a363a9b8-1acd-41de-916a-296c7998a024.

Set-CsOnlineLisCivicAddress -CivicAddressid a363a9b8-1acd-41de-916a-296c7998a024 -Description "City Center" -CompanyName Contoso

 

Parameter Required Type Description

CivicAddressId

Required

System.Guid

Specifies the unique identifier of the civic address to be modified.

City

Optional

System.String

Specifies a new city for the civic address.

CityAlias

Optional

System.String

PARAMVALUE: String

CompanyName

Optional

System.String

Specifies a new company name for the civic address.

CompanyTaxId

Optional

System.String

PARAMVALUE: String

Confirm

Optional

System.Management.Automation.SwitchParameter

Confirm 參數會導致此命令暫停處理,並需要確認才能進行。

CountryOrRegion

Optional

System.String

Specifies a new country or region for the civic address.

Description

Optional

System.String

Specifies a new description for the civic address.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

將保留此參數供 Microsoft 內部使用。

Force

Optional

System.Management.Automation.SwitchParameter

Force 參數會指定是否抑制警告和確認訊息。這在撰寫指令碼以抑制互動式提示時可能很有用。如果命令中不提供 Force 參數,您會在必要時看到提示管理員輸入。

HouseNumber

Optional

System.String

Specifies the new numeric portion of the civic address.

HouseNumberSuffix

Optional

System.String

Specifies the new 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".

PostalCode

Optional

System.String

Specifies the new postal code of the civic address.

PostDirectional

Optional

System.String

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

PreDirectional

Optional

System.String

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

StateOrProvince

Optional

System.String

Specifies the new state or province of the civic address.

StreetName

Optional

System.String

Specifies the new street name of the civic address.

StreetSuffix

Optional

System.String

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

Tenant

Optional

System.Guid

將保留此參數供 Microsoft 內部使用。

ValidationStatus

Optional

System.String

PARAMVALUE: String

WhatIf

Optional

System.Management.Automation.SwitchParameter

WhatIf 參數會導致此命令模擬其結果。使用此參數,您不需認可變更,就能檢視這些變更。

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

 
顯示: