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
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
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
Thanks Luc!!