編輯

共用方式為


Get-CsHybridMediationServer

Gets the external FQDN of an Edge server access proxy that serves as a hosting provider to a user.

Note: This cmdlet will be deprecated from Teams PowerShell Module.

Syntax

Get-CsHybridMediationServer
   [-Identity] <String>
   [-Tenant <Guid>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

A user whose name equals to the FQDN parameter will be retrieved. The HostingProvider property of that user will be returned and renamed as AccessProxyExternalFqdn. The returned user will act as a mediation server in PSTN Hybrid deployment, whose sip address is sip:{MediationServerFqdn}@{SipDomain} and HostingProvider targets to Edge server access proxy external FQDN.

If the user has licenses assigned, the warning message will be shown as guidance to ask admin remove all the licenses for it or re-create a new user without any license and try again.

Examples

-------------------------- Example 1 -------------------------- (Skype for Business Online)

Get-CsHybridMediationServer -Fqdn MediationServer.Contoso.com

This example gets the FQDN of a mediation server access proxy.

Parameters

-Confirm

The Confirm switch causes the command to pause processing, and requires confirmation to proceed.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-Identity

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

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-Tenant

Specifies the globally unique identifier (GUID) of your Skype for Business Online tenant account. For example: -Tenant "38aad667-af54-4397-aaa7-e94c79ec2308". You can find your tenant ID 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. The tenant ID will be determined by your connection and credentials. The Tenant parameter is primarily for use in a hybrid deployment.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-WhatIf

The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online