Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Attempts to synchronize the time to the NTP server.
Parameter Set: Default
Test-HcsNtp [-NtpServer <String> ] [ <CommonParameters>]
The Test-HcsNtp cmdlet attempts to synchronize the time to the Network Time Protocol (NTP) server for the device, and reports the results.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
This command tests whether the NTP configuration for the device is valid.
PS C:\> Test-HcsNtp