次の方法で共有


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>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • 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

関連トピック

Set-HcsNtpClientServerAddress