Category vSphere

Resize VM through Code

A prevalent task for a VMware admin is to power down VM X and add more CPU or RAM to the VM. Infrastructure as code enthusiasts suggest that any operation performed manually should be automated. Let us look at how…

Data Store housekeeping

In today’s world of Virtualization, we love to thin provision and overcommit. Be vary of the limitations…. When a vSphere datastore becomes full, several issues can arise that may impact virtual machine (VM) operations and the overall performance of the…

The power of the script: vSphere CLI

When you learn the syntax, using the vSphere CLI is an easy way to gather information quickly and easily from one or many vCenters. PowerCLI is a potent tool. The examples provided only begin to demonstrate its capabilities. Tasks you…

Deploying a VM using terraform

First we need to ensure we have the terraform vSphere provider installed. Replace `”your-username”`, `”your-password”`, and `”your-vsphere-server”` with your actual vSphere credentials and server address. Initialize the Terraform Working Directory: Run the following command in your terminal from the directory…

Share on Social Media