You should be able to do that through the Get-EsxCli cmdlet.
$esxcli = Get-EsxCli -VMHost $esx
$esxcli.system.syslog.reload()Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz
Thanks LucD, unfortunately the reload method will not do anything when the service is completely stopped. I spent some time troubleshooting it before, and the reload method would fail because the syslog service - I guess I should say the syslog daemon - itself was not running. After the daemon was started, the reload method would work, but I would have to ssh to the host first to start it.
But you run the 'syslogd' command in the ESXi through the plink.exe command.
That way you should at least be able to automate it.
There are many examples on how to use plink.exe available in this community.Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz