Remove-CsOnlineLisCivicAddress

 

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

Use the Remove-CsOnlineLisCivicAddress cmdlet to delete an existing civic address from the Location Information Server (LIS.) You can't remove a civic address if any of its associated locations are assigned to users.

Remove-CsOnlineLisCivicAddress -CivicAddressId <Guid> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Tenant <Guid>] [-WhatIf [<SwitchParameter>]]

This example removes the emergency civic address with the specified identification.

Remove-CsOnlineLisCivicAddress -CivicAddressId ee38d9a5-33dc-4a32-9fb8-f234cedb91ac

This example removes all the emergency civic addresses in the city of Redmond.

Get-CsOnlineLisCivicAddress -City Redmond | Remove-CsOnlineLisCivicAddress

 

Parameter Required Type Description

CivicAddressId

Required

System.Guid

Specifies the unique identifier of the civic address to be deleted. You can find civic address identifiers by using the Get-CsOnlineLisCivicAddress cmdlet.

Confirm

Optional

System.Management.Automation.SwitchParameter

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

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

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

Force

Optional

System.Management.Automation.SwitchParameter

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

Tenant

Optional

System.Guid

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

WhatIf

Optional

System.Management.Automation.SwitchParameter

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

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

This cmdlet accepts pipelined input from the Get–CsOnlineLisCivicAddress cmdlet.

 
顯示: