Get-CsHybridPstnSite

 

Topic Last Modified: 2016-04-15

Use the Get-CsHybridPSTNSite cmdlet to retrieve information about your hybrid public switched telephone network (PSTN) sites.

Get-CsHybridPSTNSite [-Identity <XdsGlobalRelativeIdentity>] <COMMON PARAMETERS>

Get-CsHybridPSTNSite [-Filter <String>] <COMMON PARAMETERS>

COMMON PARAMETERS: [-LocalStore <SwitchParameter>] [-Tenant <Guid>]

This example, by omitting the Identity parameter, will return all the hybrid PSTN sites for the specified tenant.

Get-CsHybridPSTNSite -Tenant "38aad667-af54-4397-aaa7-e94c79ec2308"

Hybrid PSTN sites are created, retrieved, modified, and deleted by the CsHybridPSTNSite cmdlet group (New, Get, Set, and Remove .) The hybrid PSTN sites can be reviewed in your hybrid configuration by using the Get-CsTenantHybridConfiguration cmdlet. However, you can't create or modify hybrid PSTN sites through the CsTenantHybridConfiguration cmdlets, you must use the CsHybridPSTNSite cmdlets to manage hybrid PSTN sites.

To return a list of all the Role-Based Access Control (RBAC) roles a cmdlet has been assigned to (including any custom RBAC roles you have created), run the following command:

Get-CsAdminRole | Where-Object {$_.Cmdlets -Match "<DesiredCmdletName>"}

 

Parameter Required Type Description

Filter

Optional

System.String

Enables you to limit the returned data by filtering on (PSTN) site specific attributes. The Filter parameter uses the same filtering syntax that is used by the Where-Object cmdlet.

Identity

Optional

XdsGlobalRelativeIdentity

Specifies the identity of the hybrid public switched telephone network (PSTN) site. For example: -Identity "SeattlePSTN".

LocalStore

Optional

System.Management.Automation.SwitchParameter

Retrieves the information from the local replica of the Central Management store, rather than the Central Management store itself.

Tenant

Optional

System.Guid

Specifies the global unique identifier (GUID) of the Skype for Business Online tenant account on which the cmdlet will operate. For example: -Tenant "38aad667-af54-4397-aaa7-e94c79ec2308".

You can find the tenant ID for your Skype for Business Online tenants by running this command: Get-CsTenant | Select-Object DisplayName, TenantID

If you are using a remote session of Windows PowerShell and are connected only to Skype for Business Online you do not have to include the Tenant parameter. Instead, the tenant ID will be determined by your connection and credentials. The Tenant parameter is primarily for use in a hybrid deployment.

The Get-CsHybridPSTNSite cmdlet returns instances of the HybridPstnSite object.

 
Show: