VMware: How to create a Linux VDI Images for Horizon 8 2303

This time I am going to talk about how to use HashiCorp packer to create a VM master image that can be used as a template to publish a Pool in VMware Horizon. Although there are many HowTo’s on how to automatically create a template with packer, all the ones I have seen are oriented to Windows 10/11 and not for Linux. It is for this reason, that I gave myself the task of creating this post....

April 11, 2023 · 8 min · Jonathan Colon Feliciano

Govc: vSphere CLI built on top of govmomi, an introduction

Hello everyone, This time I will be talking about how to use Govc, a CLI alternative developed in the GO programming language, this CLI is designed to be an easy to use alternative to the Web GUI and very suitable for automation tasks. This tool is based on govmomi, which is a library for GO used to interact with the VMware vSphere Application Programming Interface (API). Note: vSphere versions that have reached end of support may work, but are not officially supported....

August 12, 2022 · 2 min · Jon Colon

HowTo: vSphere Diagnostic Tool

This time I am going to show you how to use the vSphere Diagnostic Tool, this tool is used to perform diagnostic checks on the VMware vCenter Server Appliance. This tool consists of a python script that executes diagnostic commands to validate the health status of the vCenter service. Note: As a minimum requirement it is required to have a version of vCenter Server 6.5 or higher. This tool performs the following validations:...

June 2, 2022 · 7 min · Jon Colon

PowerShell: VMware PowerCLI get Datastore Information

Hello, In this post I will show you how to get the datastore list in a vSphere infrastructure using PowerCLI. Now, first of all we have to establish connection to our vCenter/ESXi to get this information. We can do this using the Connect-VIServer command. PS C:\Users\jocolon> Connect-VIServer -Server 192.168.5.2 Specify Credential Please specify server credential User: administrator@vsphere.local Password for user administrator@vsphere.local: ```` Name Port User ---- ---- ---- 192.168.5.2 443 VSPHERE....

December 18, 2021 · 2 min · Jon Colon

HomeLab: vSphere documentation with vDocumentation

This time I will be showing a tool that I use regularly to quickly identify inventory information in a vsphere infrastructure. This tool is called vDocumentation and precisely uses PowerCLI to obtain the inventory information. The creator of this tool Ariel Sanchez Mora @arielsanchezmor defines vDocumentation as: vDocumentation provides a community-created set of PowerCLI scripts that produce infrastructure documentation of vSphere environments in CSV or Excel file format. Ariel Sánchez Mora Github page However, to get started, the following requirements must be met:...

December 16, 2021 · 6 min · Jon Colon

HomeLab: VMware SRM Documentation with AsBuiltReport

Hello everyone! These last week I have been working on improving my coding skills taking into account that now the trend is Software Defined Everything. This time I have been spending time on PowerShell creating several reports through the AsBuildReport project created by Tim Carman @tpcarman Link Here . The report I helped finish this time is related to documenting VMware Site Recovery Manager installations. The report was initially created by Matt Allford @mattallford and I took on the task of trying to finish the work that had already been started....

November 25, 2021 · 13 min · Jon Colon

PowerShell: VMware PowerCLI initial vCenter Connection

Hi all, In a previous post PowerShell: VMware PowerCLI Introduction I showed you how to install VMware PowerCLI and a basic introduction of the purpose of this management tool. In this post I will show you how to do the initial connection to the vCenter using the PowerCLI tool. It is important to mention that PowerCLI can be used to connect to both vCenter and vSphere ESXi server independently but in this post I will be showing examples only referring to the vCenter server....

November 10, 2021 · 4 min · Jon Colon

PowerShell: VMware PowerCLI Introduction

Hi all, In this post we will see how to install and use the PowerCLI tool. Recently on the VMware Blog portal they conducted a survey on the top 10 most used VMware administrators’ tools. A curious fact is that the PowerCLI tool achieved the first place on the list for the year 2021. It is for this reason that I took the initiative to create a series of introduction articles on how to perform basic tasks using PowerCLI....

November 4, 2021 · 3 min · Jon Colon

HomeLab: vDiagram Draw your Virtual Infrastructure

Hello everyone Taking as a reference the Top 10 VMware Admin Tools list, this time I am going to show you how to use the vDiagram tool that has the #6 position in the list of the most used tools by VMware infrastructure administrators. In essence this Powershell script captures and draws a VMware vSphere infrastructure using Microsoft Visio. Originally this tool was created by Alan Renouf @alanrenouf and currently the project is maintained by Tony Gonzalez @vDiagram_Tony ....

August 27, 2021 · 5 min · Jon Colon

VMware Skyline Health Diagnostics Deployment

Hello everyone This time I come to show you the integration of VMware Skyline Health Diagnostics (VSHD) with VMware vCenter. I will also show you how to run the diagnostics to know how is the health of your Virtual infrastructure. VSHD is a self-diagnostic platform that allows to detect and solve problems in both vSphere and vSAN product line. This tool provides recommendations in the form of Knowledge Base articles or links to troubleshooting procedures....

August 9, 2021 · 4 min · Jon Colon