Modify Syslog servers on ESXi hosts
From VVCWiki
Jump to navigationJump to search
$hosts = get-vmhost
foreach ($server in $hosts)
{
write-host $server
Set-VMHostSysLogServer -vmhost $server -syslogserver 'tcp://syslog-server:1514'
}