Archives for February 27, 2014

PowerCLI Script to Set DNS and NTP on ESXi Hosts

Since joining VMware, I've built, rebuilt and updated several lab environments (home lab and work labs).  One of the problems I keep running into is incorrect/missing/disabled NTP on my ESXi hosts.  Because lab gear is often abused well-loved, BIOS time is not always correct (long periods of being powered off), settings are all sorts of jacked up (it's a lab, we're engineers, let's break stuff!!!), and documentation is non-existent.  The problem is not just in a lab environment - the number of customer environments I've seen that aren't set to use NTP is much higher than I would have thought … [Read more...]