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 Syslog.global.logHost -Value <SYSLOG SERVER NAME OR IP> -VMHost $esxhost}
#____________________________________
No comments:
Post a Comment