VMware Cloud Community
CNIdog
Enthusiast
Enthusiast

How to use PowerCLi to view VM NTP configuration?

We have clients that are configing both VMtools and Windows NTP time agents which causes some problems.

Is there any way to use PowerCLi to query vCenter and list the VMs NTP configuration or just display the current VM's configuration?

If so, can it also be used to reset the VM NTP config to off?

Cheers!

Tags (1)
0 Kudos
1 Reply
DavoudTeimouri
Virtuoso
Virtuoso

Check this blog post: PowerCLI script to report and change host NTP settings - VMwaremine - Artur Krzywdzinski | Nutanix

-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/
0 Kudos