Share via


Get-HcsNtpClientServerAddress

Get-HcsNtpClientServerAddress

Gets URLs of the NTP servers for this device.

Sintassi

Get-HcsNtpClientServerAddress [ <CommonParameters>]

Descrizione dettagliata

The Get-HcsNtpClientServerAddress cmdlet gets the URLs of the Network Time Protocol (NTP) servers for this device.

Parametri

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

Output

Il tipo di output corrisponde al tipo di oggetti generati dal 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

Esempi

Example 1: Get NTP server addresses

This command gets addresses of NTP client servers.

PS C:\> Get-HcsNtpClientServerAddress

Argomenti correlati

Set-HcsNtpClientServerAddress