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