Test-HcsNtp
Test-HcsNtp
Attempts to synchronize the time to the NTP server.
構文
Test-HcsNtp [ <CommonParameters>]
詳細説明
The Test-HcsNtp cmdlet attempts to synchronize the time to the Network Time Protocol (NTP) server for the device, and reports the results.
パラメーター
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Test NTP configuration
This command tests whether the NTP configuration for the device is valid.
PS C:\> Test-HcsNtp