Get-HcsNtpClientServerAddress

Get-HcsNtpClientServerAddress

Gets URLs of the NTP servers for this device.

Sintaxis

Get-HcsNtpClientServerAddress [ <CommonParameters>]

Descripción detallada

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

Parámetros

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el 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

Ejemplos

Example 1: Get NTP server addresses

This command gets addresses of NTP client servers.

PS C:\> Get-HcsNtpClientServerAddress

Temas relacionados

Set-HcsNtpClientServerAddress