Get-CsOnlineDirectoryTenantNumberCities

 

Topic Last Modified: 2015-11-30

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

This parameter is reserved for internal Microsoft use.

Force

Optional

System.Management.Automation.SwitchParameter

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.

Tenant

Optional

System.Guid

This parameter is reserved for internal Microsoft use.

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

 
Show: