How to create colored and adjustable Percentage Bar in the PowerShell

In one of the scripts on GitHub I found interesting function Show-PercentageGraph, written by vmdude (Frederic MARTIN). I decided on basis of this function to develop my own more robust and adjustable function. I introduce to you the function New-PercentageBar that is part of MS-Module from my PowerShell repository. New-PercentageBar One of the powerful features … Continue reading How to create colored and adjustable Percentage Bar in the PowerShell

How to configure NTP settings on ESXi hosts w/PowerCLi

PowerCLi includes three functions for configuring «NTP Servers» setting on ESXi hosts: Get-/Add-/Remove-VMHostNtpServer. You can view them using Get-Command cmdlet. In my opinion, it is clearly not enough. Please meet the ​Set-VMHostNtpServer function from my PowerCLi Vi-Module module. Set-VMHostNtpServer This function combines all three previous functions plus a few more to restart the NTP daemon … Continue reading How to configure NTP settings on ESXi hosts w/PowerCLi

How to enable/disable SSH on all ESXi hosts in a cluster w/PowerCLi

This time we will look at just two functions. Enable-VMHostSSH/Disable-VMHostSSH from my PowerCLi Vi-Module. Very often, virtual infrastructure administrators must temporarily enable SSH on the ESXi host(s), for example, to run the esxtop or to clarify the PSOD reasons or to troubleshoot storage system (HBA, Multi pathing, etc.). Through SSH you can even eject the … Continue reading How to enable/disable SSH on all ESXi hosts in a cluster w/PowerCLi

How to know ESXi servers BIOS/Firmware version w/PowerCLi

  Please meet the Get-VMHostFirmwareVersion function from my PowerCLi Vi-Module module. The function will help you get a Firmware version and release date of your ESXi hosts. For greater flexibility and convenience, the function is written as a PowerShell filter. A filter is a type of function that runs on each object in the pipeline … Continue reading How to know ESXi servers BIOS/Firmware version w/PowerCLi

How to copy VMware VM Notes to Computer/AD Computer Account Description

Computer Name is not always informative enough, for example, the name DC01 will tell you much less than the DC: Site New York - GC, FSMO: Schema, RID, PDC. Since the computer name NetBIOS/Hostname is limited both in length and in the characters set, to hold the additional information intended a field Description. Description property … Continue reading How to copy VMware VM Notes to Computer/AD Computer Account Description

Connect-VIServer: deep dive or «Where am I connected? »

VMware PowerCLi - is a powerful management tool and all you need to do to get started with it, is to connect to the virtual infrastructure server(s), which may be the Windows VCenter management server, Linux VCenter Server Appliance (VCSA) or ESXi host. When you open a new PowerCLi window/console, you will see the installed … Continue reading Connect-VIServer: deep dive or «Where am I connected? »

How to convert Thin Provision VMDK disks to Eager Zeroed Thick w/PowerCLi

Today's article will tell you about one more function from my PowerCLi Vi-Module module. Function Convert-VmdkThin2EZThick. Convert? For what? As you can understand from its name, it converts all VM’s Thin Provision virtual disks to the Thick Provision Eager Zeroed type. It may be necessary for several reasons. I do not want to provoke the … Continue reading How to convert Thin Provision VMDK disks to Eager Zeroed Thick w/PowerCLi