Get-CsOnlineDirectoryTenantNumberCities

 

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

Use the Get-CsOnlineDirectoryTenantNumberCities cmdlet to retrieve the cities for which telephone numbers have been acquired by your organization.

Get-CsOnlineDirectoryTenantNumberCities [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Tenant <Guid>]

This example returns all the cities for which telephone numbers have been acquired by your organization.

Get-CsOnlineDirectoryTenantNumberCities

This cmdlet can be used to fetch all the cities for which your organization has already acquired telephone numbers. It is mainly used to filter cities for which telephone numbers are acquired.

The console output will be in the form:

Get-CsOnlineDirectoryTenantNumberCities
NOAM-US-CA-LA
NOAM-US-IL-CH
NOAM-US-NY-NY
NOAM-US-TX-DA
NOAM-US-MA-BO

 

Parameter Required Type Description

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

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

Force

Optional

System.Management.Automation.SwitchParameter

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

Tenant

Optional

System.Guid

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

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

This cmdlet returns an IList<string> containing the geocodes of the relevant cities.

 
顯示: