Ever wondered a quicker way to check the vmtools versions and their status in your estate? Well here you go my friend.
Category: PowerCLI
How to Check Number of Disk and Number of NICs Per VM in a Cluster Using Powershell or Powercli – VirtuallyThatGuy
A quick useful vcheck for number of disks allocated to a VM , number of NICs and Guest OS details
PowerCLI Script to Configure DNS and NTP on ESXi Hosts – VirtuallyThatGuy
This is a quick blog post on how to update DNS and NTP settings via powercli. You can also check my other post on how to do it via host profile $vCenters = “lab-vcenter01.lab.local”, “lab-vcenter02.lab.local”
VMware Must Have Powershell Commands – Useful VIProperty cmdlets for VMware Powercli – How to add cmdlets to Powershell Profile VMWare – VirtuallyThatGuy
These are useful and must VI property cmdlets for automation.
How to set ESXi Shell timeout session value Using Powershell or PowerCLI – VirtuallyThatGuy
Another quick blog post about changing and updating esxi shell session timeout using powercli.
Lab StartUp Script – Using PowerCLI – VirtuallyThatGuy
This is a handy script I was playing with to startup my lab remotely. I hope you find some of the commands useful.
Lab Shutdown Script – Using PowerCLI – VirtuallyThatGuy
This is a handy script I was playing with to shutdown my lab remotely. I hope you find some of the commands useful
How To Increase VMware Datastore Using Powershell or Powercli – VirtuallyThatGuy
This is a quick blog post on how to increase VMFS datastore size using powercli. I recently installed workstation on my desktop to run nested vSAN for testing. I found out that using the native UI took a while so took the challenge to use cli instead. Script used below:
Script: How to Increase Multiple Virtual Machines VMs vCPU and vMem using a CSV and PowerCLI
This is an updated blog posted requested by one of the regular users of this blog. IMPORTANT NOTE – the script will recursively shutdown each VM defined in CSV (unless Hot Add is already enabled), apply the config then power each VM back on. So make sure you run this script in an outage window….
How To Rename Multiple ESXi Local Datastore With PowerCLI – VirtuallyThatGuy
This is a quick blog post to rename multiple datastore to Hostname-local using the residing cluster . Use case could be after auto deploy from stateless to stateful.