Test-HcsNtp
Test-HcsNtp
Attempts to synchronize the time to the NTP server.
Sintaxe
Test-HcsNtp [ <CommonParameters>]
Descrição detalhada
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>
Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.
Saídas
O tipo de saída é o tipo de objeto emitido pelo cmdlet.
Exemplos
Example 1: Test NTP configuration
This command tests whether the NTP configuration for the device is valid.
PS C:\> Test-HcsNtp