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>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
Example 1: Test NTP configuration
This command tests whether the NTP configuration for the device is valid.
PS C:\> Test-HcsNtp