Editar

Partilhar via


Test-CsWatcherNodeConfiguration

Verifies the watcher node configuration settings in use in your organization. Watcher nodes are computers that periodically use Microsoft System Center Operations Manager and Skype for Business Server synthetic transactions to verify that Skype for Business Server components are working as expected. This cmdlet was introduced in Lync Server 2013.

Syntax

Test-CsWatcherNodeConfiguration
    [-FileName <String>]
    [-ReadCredentialsFromCurrentUserStore]
    [<CommonParameters>]

Description

If you are using Microsoft System Center Operations Manager to monitor Skype for Business Server then you have the option of setting up "watcher nodes": computers that periodically, and automatically, run synthetic transactions in order to verify that Skype for Business Server is working as expected. Watcher nodes are assigned to pools, and are managed using the CsWatcherNodeConfiguration cmdlets. Note that you do not need to install watcher nodes if you are using System Center Operations Manager. You can still monitor your system without using watcher nodes; the only difference is that any synthetic transactions you want to run will need to be invoked manually rather than automatically invoked by Operations Manager.

The Test-CsWatcherNodeConfiguration cmdlet provides a way for you to verify that a watcher node has been correctly configured and is assigned to a valid Skype for Business Server pool. Note that the Test-CsWatcherNodeConfiguration cmdlet must be run on the watcher node itself; the cmdlet cannot be run against remote computers.

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

Examples

-------------------------- Example 1 --------------------------

Test-CsWatcherNodeConfiguration

The command shown in Example 1 verifies the configuration settings for each watcher node in use in the organization.

Parameters

-FileName

Enables you to specify a file path for the log file created when the cmdlet runs. For example:

-Report "C:\Logs\WatcherNode.html"

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-ReadCredentialsFromCurrentUserStore

When present, instructs the Test-CsWatcherNodeConfiguration cmdlet to retrieve the user credentials from the user's credentials store. By default, the Test-CsWatcherNodeConfiguration cmdlet looks for credentials in the network service account's credentials store.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

Inputs

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

Outputs

The Test-CsWatcherNodeConfiguration cmdlet returns an instance of the Microsoft.Rtc.SyntheticTransactions.TaskOutput object.