Add additional Syslog servers to ESXi hosts

This script proved to be a little more challenging than I had first expected. As you may be aware, simply running Set-VMHostSysLogServer will overwrite your existing configuration which is less than ideal when you’re trying to add a new server to your list.
This script will prompt you for a file that will need to contain a list of all hosts you want to configure, it will also prompt you to supply the Syslog server address in UDP://X.X.X.X Format or using s FQDN.

Download from GitHub

Run The Script and enter the requested information:

Wait for the script to run through your selected hosts and confirm configuration.

Once this is complete, it will export a log file lists Host, ExistingConfig, NewConfig, Time & Change Status
Download from GitHub


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.