Modify Syslog servers on ESXi hosts

From VVCWiki
Revision as of 02:27, 5 March 2014 by Vvc (talk | contribs) (Created page with "<source lang="powershell"> $hosts = get-vmhost foreach ($server in $hosts) { write-host $server Set-VMHostSysLogServer -vmhost $server -syslogserver 'tcp://syslog-server:1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
$hosts = get-vmhost
foreach ($server in $hosts)
{
  write-host $server
  Set-VMHostSysLogServer -vmhost $server -syslogserver 'tcp://syslog-server:1514'
}