Get-CsOnlineLisCivicAddress

 

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

Use the Get-CsOnlineLisCivicAddress cmdlet to retrieve information about existing emergency civic addresses defined in the Location Information Service (LIS.)

Get-CsOnlineLisCivicAddress [-AssignmentStatus <String>] [-City <String>] [-CivicAddressId <Guid>] [-CountryOrRegion <String>] [-Description <String>] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-LocationId <Guid>] [-NumberOfResultsToSkip <Int32>] [-PopulateNumberOfTelephoneNumbers <SwitchParameter>] [-PopulateNumberOfVoiceUsers <SwitchParameter>] [-ResultSize <Unlimited>] [-Tenant <Guid>] [-ValidationStatus <String>]

This example returns the civic address with the specified identification.

Get-CsOnlineLisCivicAddress -CivicAddressId 235678321ee38d9a5-33dc-4a32-9fb8-f234cedb91ac

This example returns all the civic addresses in the city of Seattle.

Get-CsOnlineLisCivicAddress -City Seattle

 

Parameter Required Type Description

AssignmentStatus

Optional

System.String

Specifies whether the retrieved addresses have been assigned to users or not. Valid inputs are "Assigned", or "Unassigned".

City

Optional

System.String

Specifies the city of the target civic address.

CivicAddressId

Optional

System.Guid

Specifies the identification number of the civic address to return.

CountryOrRegion

Optional

System.String

Specifies the country or region of the target civic address.

Description

Optional

System.String

Specifies the administrator defined description of the target civic address.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

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

Force

Optional

System.Management.Automation.SwitchParameter

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

LocationId

Optional

System.Guid

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

NumberOfResultsToSkip

Optional

System.Int32

Specifies the number of results to skip. If there are a large number of civic addresses, you can limit the number of returns by using the ResultSize parameter. If you limited the first cmdlet execution to 25 results, and want to look at the next 25 locations, then you leave ResultSize at 25 and set NumberOfResultsToSkip to 25 to omit the first 25 you've reviewed. For example the command below will return civic addresses 26-50 for Seattle.

Get-CsOnlineLisCivicAddress -City Seattle -ResultSize 25 -NumberOfResultsToSkip 25

PopulateNumberOfTelephoneNumbers

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

PopulateNumberOfVoiceUsers

Optional

System.Management.Automation.SwitchParameter

If present, the PopulateNumberOfVoiceUsers switch causes the cmdlet to provide the number of voice users at the returned addresses.

ResultSize

Optional

Microsoft.Rtc.Management.ADConnect.Core.Unlimited

Specifies the maximum number of results to return.

Tenant

Optional

System.Guid

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

ValidationStatus

Optional

System.String

Specifies the validation status of the addresses to be returned. Valid inputs are: Valid, Invalid, and Notvalidated.

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

One or more instances of civic address objects.

 
顯示: