Get-HcsNtpClientServerAddress
Get-HcsNtpClientServerAddress
Gets URLs of the NTP servers for this device.
Syntax
Get-HcsNtpClientServerAddress [ <CommonParameters>]
Detaillierte Beschreibung
The Get-HcsNtpClientServerAddress cmdlet gets the URLs of the Network Time Protocol (NTP) servers for this device.
Parameter
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
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
Beispiele
Example 1: Get NTP server addresses
This command gets addresses of NTP client servers.
PS C:\> Get-HcsNtpClientServerAddress