Test-HcsNtp
Test-HcsNtp
Attempts to synchronize the time to the NTP server.
Sintaxis
Test-HcsNtp [ <CommonParameters>]
Descripción detallada
The Test-HcsNtp cmdlet attempts to synchronize the time to the Network Time Protocol (NTP) server for the device, and reports the results.
Parámetros
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Test NTP configuration
This command tests whether the NTP configuration for the device is valid.
PS C:\> Test-HcsNtp