Get-HcsNtpClientServerAddress
Gets URLs of the NTP servers for this device.
Syntax
Get-HcsNtpClientServerAddress []
Description
The Get-HcsNtpClientServerAddress cmdlet gets the URLs of the Network Time Protocol (NTP) servers for this device.
Examples
Example 1: Get NTP server addresses
PS C:\> Get-HcsNtpClientServerAddress
Primary Secondary
------- ---------
time.contoso.com {secondary.contoso.com}
This command gets addresses of NTP client servers.
Outputs
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
Related Links
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários