When you run the command to Import-Module VMware.PowerCLI on Powershell, You might have received the below warning message regarding VMware CEIP (Customer Experience Improvement Program).
VMware's Customer Experience Improvement Program (CEIP) collects technical information from participating …
One of my teammates from another project had a requirement of deploying a clone VMware Virtual Machine from a template using Ansible. In the last hour additional requirements they wanted to process clones of multiple VMs with different types of operating system such as Linux and Microsoft Windows.…
There is a best security practice to implement authorized SSL Certificates on VMware infrastructure. Here I am installing certificates on the vSphere vCenter server. By default VMCA (VMware Certificate Authority) signed certificate is installed on the vCenter server. Which you can see under vSphere …
In this article I will add the Trusted Root certificate in vCenter Certificate store. Basically this will help to use your Certificate Authority root chain certificate (CA server) or third party certificates in your VMware vSphere infrastructure, If you are intending to use a trusted root certificat…
After writing initial Terraform code to clone VMware Virtual Machine template Using terraform to clone a virtual machine on VMware vSphere infrastructure, There was a requirement to clone Linux and Windows Virtual Machines using the single TF file and it must create multiple VMs from map hash table …
After cloning VMWare Virtual Machine using Terraform code, I waited for a long time but terraform apply command was not getting completed and was in the creation state of indefinitely. The VM was cloned on the vCenter server and it was powered on. But when I checked on the VM VMware web remote conso…
After deploying new VMware vSphere 8.0 products, I was seeing MANAGE YOUR LICENSES (There are expired or expiring licenses in your inventory) warning on the vCenter vSphere Client ui portal top bar. This article focuses on assigning licenses to vCenter server or ESXi host.
vCenter Server is the unified management service for VMware, and is used to handle virtual machines, multiple ESXi hosts, and all dependent elements from a single centralized location. As a base I have already deployed my ESXi server in the lab with VMware ESXi 8.0 step by step Installation guide w…
This is very handy and useful PowerCLI script, when I do my labs or production deployment changes on VMware environment. Whenever I have multiple servers to make changes and wants to ensure no problem should occur after changes, I take temporary VMware snapshots. But working with snapshot manually i…
There is a common issue you might have faced while connecting to either vCenter server or Esxi Server using Vmware PowerCLI.
Connect-VIserver $esxiServer -User $user -Password $password
Connect-VIServer could not connect using the requested protocol. Additional Information: The remote server…
Recently while working with Vmware PowerCLI on one of my new laptop, when connecting to esxi server and vCenter server with Connect-VIserver command, I was receiving below error.
Connect-VIServer $esxiserver -User $user -Password $passwordConnect-VIServer The SSL connection could not be estab…
I had a project to automate and upgrade VMware infrastructure. I had given few of the basic tasks to my fellow juniors to update VMware.PowerCLI modules on few servers and run script on the systems. But while upgrading VMware PowerCLI they were receiving below errors.
In this article I will be installing fresh VMware vCenter server appliance vcsa on esxi server. First step is to download vCenter server 7.0 vcsa ISO file from customerconnect.vmware.com or my.vmware.com website. You need to have access to the VMware site to download ISO. Search for VCSA and go to…
In my daily use of Vmware PowerCLI scripts while pulling inventory from vCenter Server, I always include vCenter Center name in the inventory. For example if I am fetching list of Clusters or VMs with complete information it should include a property name of vCenter Server, where the object belongs.…
While working at different clients on their VMware infrastructure, I always gather complete inventory of a vCenter infrastructure first before doing any changes or designing a solution. This way I get to know very quick about the architecture. Here is my script which fetches all VDS (Virtual Distrib…
This is a simple step by step guide on how to install or update vib software application on VMware ESXi server. First step I am going to use ESXi SSH to login. Make sure SSH is enabled on ESXi server, for the same you can find article VMWARE SECURITY BEST PRACTICES: POWERCLI ENABLE OR DISABLE ESX…
While working with VMware PowerCLI module I was receiving below error, when connecting to vCenter or ESXi server. The system where I was working on, PowerCLI was installed for first time and I was connecting to vCenter/ESXi for first time from the system. This issue occurs due to SSL certificate ins…
While working with my VMware team we had to audit and create or delete TCP/IP network stack, Here on the ESXi server under Networking >> TCP/IP Configuration you cannot create new custom stack using vSphere client. I was able to automate almost all infrastructure using PowerCLI scripts, but few…
Whenever I get a already configured VMware vSphere projects handover to optimization and modernization, Sometimes I received infrastructure vCenter server with forgotten passwords either root or [email protected]. In my earlier blog I have already shows a procedure to Resetting root pass…