Test-HcsmConnection

Windows Server 2012 R2 and Windows 8.1

Test-HcsmConnection

Provides error messages that pertain to network connectivity and device state.

構文


Test-HcsmConnection [ <CommonParameters>]




詳細説明

The Test-HcsmConnection cmdlet provides error messages that pertain to network connectivity and device state. If a device ceases to work due to issues in registration, service, or network connectivity, run this cmdlet to see specific error messages. The messages can help you or Microsoft Customer Service and Support fix problems.

If you specify the Verbose parameter, the output of the cmdlet contains details of the tests. If you do not specify Verbose, the cmdlet displays error messages only.

パラメーター

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • String

    This cmdlet generates error messages. If you specify Verbose, the output indicates the checks that the cmdlet performs and their results, including error strings and codes describing the errors, if applicable. For example, if the network connection does not work due to incorrect proxy settings, the cmdlet displays information as follows:

       Checking device state: Success
       Device is registered successfully
       Checking connectivity from device to SaaS.. Failure
       The device could not connect using the current web proxy configuration. Please ensure that your web proxy settings are correct and your web proxy servers are online and reachable.

    If you run this cmdlet for a successfully registered device, the result is as follows:

       Checking device state ... Success.
       Device registered successfully
       Checking device authentication. ... Success.
       Checking connectivity from Device to SaaS. ... Success.

    If you do not specify Verbose, the cmdlet displays only errors, if any.


---------- Example 1: Check a device ----------

This command checks whether the device is registered and online. The cmdlet then checks whether the device authenticates to SaaS. The cmdlet then checks whether the device connects to SaaS.

This command specifies the Verbose parameter, so the cmdlet displays all checks that it runs.


PS C:\> Test-HcsmConnection -Verbose

関連トピック

コミュニティの追加

追加
表示: