VMware Cloud Community
RAJESH3311
Enthusiast
Enthusiast

PowerCLI Command to get NTP Servers for all VM Hosts

Dear All,

Some one please help us to provide the power cli command to list the VMHost Name and configured NTP Server for all hosts on cluster.

We have tried using the command Get-VMHost  | Get-VMHostNtpServer. But this commands returns only the name of NTP server. We need the hostname along with the out put.

Thanks in Advance

Rajesh

1 Reply
LucD
Leadership
Leadership

Have a look at   Re: ESXi Host NTP Info


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference