Test-HcsNtp
Test-HcsNtp
Attempts to synchronize the time to the NTP server.
Syntaxe
Test-HcsNtp [ <CommonParameters>]
Description détaillée
The Test-HcsNtp cmdlet attempts to synchronize the time to the Network Time Protocol (NTP) server for the device, and reports the results.
Paramètres
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
Exemples
Example 1: Test NTP configuration
This command tests whether the NTP configuration for the device is valid.
PS C:\> Test-HcsNtp