I am in the process of build ESXi 5.0, and use a lot of PowerCLI to configure the host.
I have used to setup a reote syslog server
Set-VMHostSysLogServer -SysLogServer $SySLog -VMHost "$hostname"
$esxcli= Get-EsxCli
$esxcli.system.syslog.reload()
to apply a new remote syslog server, but I also need to set the following.
but I also need to configure the following.
make the syslog's appear in the Dir equal to the servername. This seems to be a 'True/False' option.
syslog.global.logDirUnique
make a local copy of the syslogs also on a vmfs datastore.
Syslog.global.logDir
can the $esxcli.system. contruct be used to apply these configurations