Home » PowerCLI

How to Expand Windows VM Disk Using PowerCLI or Powershell in VMware – VirtuallyThatGuy

This is a quick post about some tools I used during previous project of deploying server core for an online gambling firm I worked for. We often found ourselves expanding disk and wanted to automate the process by…

Read More »

ESXi 8.x, 7.x, 6.x Service sfcbd-watchdog Not Running / Fails to Start – VirtuallyThatGuy

Excited about ESXi 6.7 like everyone else so I updated the lab to version 6.7 vCenter, SRM, ESXi, vROPS, vSphere replication and boom PRTG (my primary monitoring tool) wasn’t picking up any hardware monitoring. I had problem with…

Read More »

How to gather vCenter Inventory, Number of VMs, ESXi Hosts and VCSA Node ID Using PowerCLI – VirtuallyThatGuy

I am the biggest fan of using CSV for automating my VMware estate but wanted to try the HTML flavour for a change. Join me explore the possibilities of collecting these results in an html readable format.

Read More »

How to Add Descriptions or Notes To Multiple VMs Using PowerCLI and CSV VMware- VirtuallyThatGuy

I had over 100 VMs to add descriptions or notes and then Move them to a folder so decided to write a one-liner for it. Hope it comes handy for someone looking to do similar task.

Read More »

How to find the number of VMs running on a Datastore Using PowerCLI – VirtuallyThatGuy

I wanted to check the heavy hitters on my Datastores and redistribute the load accordingly. I could use datastore cluster (you need enterprise plus license for this)…. Or alternantively vRealize Operation Manager… but thought why not use powercli?…

Read More »

Automate VMtools Upgrade For Bulk VM List Using PowerCLI – VirtuallyThatGuy

This post is about upgrading multiple VMtools using powercli. I will start off with what is VMtools and why are they so important to be updated and looked after with love. Overview of VMware Tools (With my Comments)…

Read More »

How to Set VM Hot Plug For Memory and CPU (vCPU and vMem Hot Plug) Using PowerCLI – VirtuallyThatGuy

Imagine one of your  VMs struggling for compute resource and you want to add more resource without powering off the VM? Well VMware hot add and hot plug allows you to do just that. Hot-add vMem and hot-plug…

Read More »

How to Open VM (Virtual Machine) Console Using PowerCLI – VirtuallyThatGuy

Welcome to VirtuallyThatGuy – and today we are going to be looking at how to open the VM console from the PowerCLI or PowerShell. I never really thought about using the open-vmconsolewindow cmdlet until a colleague asked the…

Read More »

How to Expand VM Disk Using PowerCLI and Extend in Windows Guest – VirtuallyThatGuy

Imagine having to expand disk for more than 20 VMs and you sadly opt to do it the click next and next and next and click next way? Well you know where I am going with this. I…

Read More »

How to Calculate pCPU to vCPU and pMem to vMem Ratio Using PowerCLI – VirtuallyThatGuy

In my time working for an Online betting company, I use to do a lot of capacity planning and cluster over commit analysis for our IT director. This sphered me on to try and automate the process…Thanks to…

Read More »