Tag Iac

Extract configuration

As mentioned in the previous post, I am gathering an overview of vSphere infrastructure in an easy, absorbable format. What other information is good to understand. Output: Fetching vSphere Cluster Information…Cluster Information:Cluster Name: ClusterNameNumber of Hosts: 2DRS Enabled: TrueHA Enabled:…

Create a credentials file for vSphere

Instead of having to enter the username and passwords every time you are running a script it is a good idea to create a credentials file and encrypt it on your system. Create encrypted file This creates a file C:\vCenterCredentials.xml…

vSphere Admin scripts

Some scripts that I use to manage vSphere Turn off SSH if running Count the number of VMs that are in each vSphere cluster List the 10 largest VMs per cluster Per RAM Example output Export to CSV as well…

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…

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