![]() NAME Get-VMHostNtpServer SYNOPSIS Retrieves the NTP servers on the specified hosts. SYNTAX Get-VMHostNtpServer [-VMHost] DESCRIPTION Retrieves the NTP servers on the specified hosts. PARAMETERS -VMHost Specify the hosts, whose NTP servers you want to retrieve. Required? true Position? 1 Default value Accept pipeline input? true (ByValue) Accept wildcard characters? true -Server Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the co mmand runs on the default servers. For more information about default servers, see the description of Connect-V IServer. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? true This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type, "get-help about_commonparameters". INPUTS OUTPUTS System.String NOTES Returns the IP addresses of the NTP servers. All NTP-related cmdlets are supported only on ESX 3.5 or higher. -------------- Example 1 -------------- C:\PS>Get-VMHostNtpServer -VMHost 10.23.123.100 Retrieves the NTP server of the virtual machine host with an IP address 10.23.123.100. 127.127.1.0 RELATED LINKS Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-VMHostNtpServer.html Add-VMHostNtpServer Remove-VMHostNtpServer |