vCO – Configure ESXi Syslog Server and more

In this example I configure some advanced setting on an ESXi host. Syslog server is just one of the. First I create a for loop to create my hostSetting array objects. Then late I fill them. Always the key and a value. You can check the ESXi host advanced setting in GUI for parameters. YouContinue reading “vCO – Configure ESXi Syslog Server and more”

Rate this:

vCO – Configure NTP on ESX

In this example I set the NTP Server and then check if the NTP Service is running. If not I start it. //myhost is input parameter of type VcHostSystem //ntpServer is input parameter of type String[] (string array) var hostDateTimeConfig = new VcHostDateTimeConfig(); hostDateTimeConfig.ntpConfig = new VcHostNtpConfig(); hostDateTimeConfig.ntpConfig.server = ntpServer; //Set the ntp servers myhost.configManager.dateTimeSystem.updateDateTimeConfig(hostDateTimeConfig);Continue reading “vCO – Configure NTP on ESX”

Rate this: