Year: 2014

2nd October 2014 · Luca Sturlese

Since vSphere 4.1 you have the option of setting the number of cores per CPU in a virtual machine. This allows you to present logical processors to a VM into specific socket and core configurations. This feature is commonly know as corespersocket.

So the question arises…. is it better two assign multiple sockets or multiple cores per socket?

Below we look into the best practices and when to use which option…

Read More “Should I assign multiple cores per socket on a vCPU?”

18th September 2014 · Luca Sturlese

This is a quick article on how to send an email with PowerShell. The way I have done this is that I have created a Send-Email PowerShell function which can then be added to your function library and dot sourced in your PowerShell scripts.

Alternatively you could just copy paste this function directly into your script and call it from there. Either way, it is simple and it works. Plus you can send both plain-text and HTML emails. So here it is…

Read More “How To – Send an email with PowerShell”

13th September 2014 · Luca Sturlese

If you are installing VMware ESXi on a server \ computer, sometimes you might run into a problem where ESXi cannot detect a Network Adapter (NIC) and therefore will not allow you to continue the installation. The reason for this is because the native ESXi installer does not contain the drivers for the NIC you have installed. This is the situation I found myself in recently when building an ESXi host in my home test lab.

To resolve this problem, we need to inject the drivers into the VMware ESXi installer image and therefore create a custom VMware ESXi image. Although this sounds hard, it is actually pretty easy. Below are the steps required to achieve this…

Read More “How To – Create custom VMware ESXi Image”