VMware Cloud Community
online11
Contributor
Contributor
Jump to solution

Setting sys.global.loghost to null

I had one Loginsight Server and somehow it has been removed from the system. Now i need to remove its ip address from ESXi's Syslog parameter under advanced settings. Do you have an powercli script that removes and sets the sys.global.loghost parameter to null? I like to do it Cluster by cluster. Thanks

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Try like this

$clusterName = 'MyCLuster'

Get-Cluster -Name $clusterName | Get-VMHost | Set-VMHostSysLogServer -SysLogServer $null -Confirm:$false


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

Try like this

$clusterName = 'MyCLuster'

Get-Cluster -Name $clusterName | Get-VMHost | Set-VMHostSysLogServer -SysLogServer $null -Confirm:$false


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
online11
Contributor
Contributor
Jump to solution

Thanks Luc!!

0 Kudos