Get-HcsNtpClientServerAddress
Get-HcsNtpClientServerAddress
Gets URLs of the NTP servers for this device.
구문
Get-HcsNtpClientServerAddress [ <CommonParameters>]
자세한 설명
The Get-HcsNtpClientServerAddress cmdlet gets the URLs of the Network Time Protocol (NTP) servers for this device.
매개 변수
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
Microsoft.HCS.Management.Powershell.Cmdlets.NtpInfo
This cmdlet returns an NtpInfo object that has the following properties:
-- Primary NTP Address. This is a single string.
-- Secondary NTP Addresses. This is an array of strings.The NtpInfo object has the following properties:
-- String Primary
-- String[] Secondary
예제
Example 1: Get NTP server addresses
This command gets addresses of NTP client servers.
PS C:\> Get-HcsNtpClientServerAddress