PowerShell Friday: Configuring vSphere MTU Size
Several vSphere components can benefit from using a larger network frame size (MTU) than the regular size of 1500 bytes. vMotion, Storage: NFS, iSCSI and VSAN are examples that would gain some performance by increasing the frame size. In most cases, you would configure the…
PowerShell Friday: Creating Virtual Machines
One of the most basic things you will do within a virtual infrastructure is creating virtual machines. Adding one new virtual machine like this is fine, but if you have to repeat this proces multiple times it might be more usefull to use a script…
PowerShell Friday: stopping VMs
This weeks PowerShell Friday is about stopping VMs with PowerCLI. If you want to gracefully shutdown your VM, which I think you will do most of the time you are better of using Shutdown-VMGuest . This will use the VMware tools to gracefully shutdown your VM. Just as…
PowerShell Friday: Starting VMs
With PowerCLI you can manage and automate your VMware infrastructure from the command line. After you connect to vCenter you can do all kinds of nifty stuff. For example it is very easy to start virtual machines. You can use the complete name of the VM,…
PowerShell Friday: Connecting to vCenter
For our first cmdlet on PowerShell Friday we are going to connect to vCenter. Before we can do anything useful on an ESXi host or vCenter we need to connect to the server. Connecting to vCenter or an ESXi host is done with the command:…