Variables: $ServerIP = "YourESXiServerIP" $SysLog = "YourSyslogServerIP" Configure Syslog server using Powershell function syslog { $VMHost = Get-VMHost -Name $ServerIP Set-VMHostSysLogServer -VMHost $VMHost -SysLogServer $SysLog -SysLogServerPort 514 } Configure NTP server and restart NTP service …
Read MoreToday we got our first HP DL380G6 server with 2x 2,8GHz Intel Nehalem, 72GB RAM and 2x 146GB Disks. I have successfully installed VMware ESXi 4 on this box. After this I have started the configuration. In the next days I’m going to run some test on this box and hopefully get the 2nd HP Dl380G6. I’m currently working on …
Read MoreThis one-liner will count all VM’s on a ESX host Get-VMHost -Server xxx.xxx.xxx.xxx | Select Name,@{N="NumVM";E={($_ |Get-VM -Server xxx.xxx.xxx.xxx | where {$_.PowerState -eq "PoweredOn"}).Count}} Coding for usage with the VESI: $noConnection = $true if ($global:vmwareManagedHosts) { foreach ($key …
Read More