Thursday, December 18, 2014

Powershell Changing Syslog servers for VMware ESXI 5.X

A quick little script for changing all of you ESX hosts to a new syslog server.

Connect-VIServer <VirtualCenterServerName>

$hosts = Get-VMHost

Foreach ($esxhost in $hosts)

{Set-VMHostAdvancedConfiguration -Value <SYSLOG SERVER NAME OR IP> -VMHost $esxhost}

No comments:

Post a Comment

Level up - Taking your career to the next level

Leveling up is widely known as a video gaming term for moving up to the next level and becoming a bigger, faster, stronger player. I used to...