Thursday, December 18, 2014

Powershell Changing Syslog servers for VMware ESXI 5.X

A quick little script for changing all of you ESX hosts to a new syslog server.

Connect-VIServer <VirtualCenterServerName>

$hosts = Get-VMHost

Foreach ($esxhost in $hosts)

{Set-VMHostAdvancedConfiguration -Value <SYSLOG SERVER NAME OR IP> -VMHost $esxhost}

No comments:

Post a Comment

Safety First!

Today started out crazy, My wife is a runner and goes on a run almost every morning. I decided to join her for part of it and take a morni...