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
Default (Default)
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
Applicable: Skype for Business Online
The Confirm switch causes the command to pause processing, and requires confirmation to proceed.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Identity
Applicable: Skype for Business Online
Specifies the identity of the hybrid public switched telephone network (PSTN) site. For example: -Identity "SeattlePSTN".
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Tenant
Applicable: Skype for Business Online
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.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Applicable: Skype for Business Online
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.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.