Export (0) Print
Expand All
Expand Minimize

Test-CsAVEdgeConnectivity

Skype for Business Server 2015
 

Topic Last Modified: 2015-04-09

Verifies connectivity through the A/V Edge server. This cmdlet was introduced in Lync Server 2013.

Test-CsAVEdgeConnectivity -TargetFqdn <String> [-Authentication <TrustedServer | Negotiate | ClientCertificate | LiveID | OAuth>] [-RegistrarPort <Int32>] [-UserSipAddress <String>] <COMMON PARAMETERS>

Test-CsAVEdgeConnectivity -UserCredential <PSCredential> -UserSipAddress <String> [-Authentication <TrustedServer | Negotiate | ClientCertificate | LiveID | OAuth>] [-HybridOnlineUserAuthentication <LiveID | OAuth>] [-HybridOnlineUserCredential <PSCredential>] [-IsHybridOnlineUser <$true | $false>] [-RegistrarPort <Int32>] [-TargetFqdn <String>] <COMMON PARAMETERS>

Test-CsAVEdgeConnectivity [-Authentication <TrustedServer | Negotiate | ClientCertificate | LiveID | OAuth>] <COMMON PARAMETERS>

COMMON PARAMETERS: [-AVEdgeAddress <String>] [-AVEdgeTCPPort <UInt16>] [-AVEdgeUDPPort <UInt16>] [-Force <SwitchParameter>] [-OutLoggerVariable <String>] [-OutVerboseVariable <String>]

The command shown in Example 1 verifies that a preconfigured test user can connect to the A/V Edge server configured for the pool atl-cs-001.litwareinc.com Note that this command will fail if you have not defined at least one health monitoring test user for atl-cs-001.litwareinc.com.

Test-CsAVEdgeConnectivity -TargetFqdn "atl-cs-001.litwareinc.com"

In Example 2, the Test-CsAVEdgeConnectivity cmdlet verifies that the user with the SIP address sip:kenmyer@litwareinc.com is able to connect to the AV Edge server. To do this, the first command in the example uses the Get-Credential cmdlet to retrieve a Windows PowerShell credentials object for the user litwareinc\kenmyer; note that you supply the password for this account when obtaining this object. After the credentials object has been obtained, the second command uses the Test-CsAVEdgeConnectivity cmdlet to verify that the user can connect to the AV Edge server.

$cred = Get-Credential "litwareinc\kenmyer"

Test-CsAVEdgeConnectivity -TargetFqdn "atl-cs-001.litwareinc.com" -UserSipAddress "sip:kenmyer@litwareinc.com" -UserCredential $cred

The Test-CsAVEdgeConnectivity cmdlet verifies that a user can connect to the AV Edge Server assigned to a Registrar pool.

Skype for Business Server Control Panel: The functions carried out by the Test-CsAVEdgeConnectivity cmdlet are not available in the Skype for Business Server Control Panel.

 

Parameter Required Type Description

TargetFqdn

Required

System.String

Fully qualified domain name (FQDN) of the pool to be tested.

UserCredential

Required

System.Management.Automation.PSCredential

User credentials object for the account to be tested. The value passed to UserCredential must be an object reference obtained by using the Get-Credential cmdlet. For example, this code returns a credential object for the user litwareinc\kenmyer and stores that object in a variable named

$x: $x = Get-Credential "litwareinc\kenmyer"

You need to supply the user password when running this command. This parameter is not required if you are conducting the test under the health monitoring configuration settings for the pool.

Authentication

Optional

Microsoft.Rtc.Management.SyntheticTransactions.SipSyntheticTransaction+AuthenticationMechanism

Type of authentication used in the test. Allowed values are:

* TrustedServer

* Negotiate

* ClientCertificate

* LiveID

AVEdgeAddress

Optional

System.String

IP address of the Edge server being tested. Specifying the IP address enables you to test the internal side of the Edge server; in turn, this allows you to verify the connection between the test client and the internal Edge server. Note that the internal side often has multiple IP addresses.

AVEdgeTCPPort

Optional

System.UInt16

Transmission Control Protocol (TCP) of the Edge server being tested.

The default value is 443.

AVEdgeUDPPort

Optional

System.UInt16

User Datagram Protocol (UDP) port of the Edge server being tested.

The default value is 3478.

Force

Optional

System.Management.Automation.SwitchParameter

Suppresses the display of any non-fatal error message that might occur when running the command.

HybridOnlineUserAuthentication

Optional

Microsoft.Rtc.Management.SyntheticTransactions.SipSyntheticTransaction+HybridOnlineAuthenticationMechanism

PARAMVALUE: LiveID | OAuth

HybridOnlineUserCredential

Optional

System.Management.Automation.PSCredential

PARAMVALUE: PSCredential

IsHybridOnlineUser

Optional

System.Boolean

PARAMVALUE: $true | $false

OutLoggerVariable

Optional

System.String

When present, detailed output from running the cmdlet will be stored in the specified variable. This variable includes a pair of methods – ToHTML and ToXML – that can then be used to save that output to either an HTML or an XML file.

To store output in a logger variable named $TestOutput use the following syntax:

-OutLoggerVariable TestOutput

Note: Do not use prepend a $ character when specifying the variable name.To save the information stored in the logger variable to an HTML file, use a command similar to this:

$TestOutput.ToHTML() > C:\Logs\TestOutput.html

To save the information stored in the logger variable to an XML file, use a command similar to this:

$TestOutput.ToXML() > C:\Logs\TestOutput.xml

OutVerboseVariable

Optional

System.String

When present, detailed output from running the cmdlet will be stored in the specified variable. For example, to store output in a variable named $TestOutput use the following syntax:

-OutVerboseVariable TestOutput

Do not use prepend a $ character when specifying the variable name.

RegistrarPort

Optional

System.Int32

SIP port used by the Registrar service. This parameter is not required if the Registrar uses the default port 5061.

UserSipAddress

Optional

System.String

SIP address for user account to be tested; for example: -UserSipAddress "sip:kenmyer@litwareinc.com". The UserSipAddress parameter must reference the same user account as UserCredential. This parameter is not required if you are conducting the test under the health monitoring configuration settings for the pool.

None. The Test-CsAVEdgeConnectivity cmdlet does not accept pipelined input.

The Test-CsAVEdgeConnectivity cmdlet returns instances of the Microsoft.Rtc.SyntheticTransactions.TaskOutput object.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft