Get-VMHostNtpServer

This cmdlet retrieves the NTP servers on the specified hosts.

Syntax

-VMHost  <VMHost[]>
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VMHost
VMHost[] named
  • wildcards
  • pipeline
  • Specifies the hosts, whose NTP servers you want to retrieve.
    optional
    Server
    VIServer[] named
  • wildcards
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.

    Output

    System.String

    Examples


    Example 1

    Get-VMHostNtpServer -VMHost 10.23.123.100

    Retrieves the NTP server of the virtual machine host with an IP address 10.23.123.100.

    Related Commands

    Feedback

    Was this page helpful?