I was in a situation which I had to remove a VIB file from ESXi hosts which reside in a cluster. In such cases PowerCLI is our good friend. Let’s see how it can help us: 1. Connect to the vCenter Server: Connect-VIServer VC_ADDRESS 2. The we create a variable …
Read More »Monthly Archives: February 2023
PowerCLI: how to get the model of all servers in a big virtual infrastructure?
In order to do some task I had to get the model of all servers in a big VMware infra. It is quite easy but can be helpful: 1. Connect to the vCenter Server: Connect-VIServer VC_ADDRESS 2. Then we get the property: Get-Vmhost | Get-View |Sort-object Name |select Name,@{N = …
Read More »