Bulk change NTP on all ESXi with PowerCLI

Changing the NTP data in one host is a pretty easy task but change it across multiple hosts is a repetitive task than can be scripted with PowerCLI.

The script adds a NTP server on all ESXi hosts connected to the vCenter server you previously connected with “Connect-ViServer” and then restarts the NTP service so the changes are applied.


[wpfilebase tag=file id=6 /]