Home » VMware
vROps: Management Pack Troubleshooting
Introduction VMware vRealize™ Operations™, part of the VMware vRealize suite, provides a unified management experience for IT services on the VMware vCenter™ server. The Pure Storage FlashArray Management Pack for VMware vRealize Operations Manager (vROps) helps VMware administrators…
Read More »Migrate VMs Between vCentres Using Powershell or PowerCLI
Yeah you can do this in the UI but I don’t like clicking so will use a script instead. The following script will migrate virtual machines from one vCentre to another, so long as both have a shared…
Read More »Set VM Tools to Update Automatically on VM Reboot using powershell
Keeping VM Tools up to date is like painting the Forth Bridge (an endless task which, just as you finish, another ESX release goes live and you start all over again). A useful, but almost hidden feature, is…
Read More »VMware ESXi CLI Cheat Sheet
These cheat sheets are to be used on the VMware platform. Some commands require PowerCLI, others can be run directly on the Photon OS. Command What it does /etc/init.d/hostd restart/etc/init.d/vpxa restart Restart VMWare Management services on Host #…
Read More »Ping All VM’s On ESXi Using Powershell
This is a quick blog about some useful sanity check prior to and after network level changes
Read More »Comprehensive Script of VM’s with Snapshots Running – Using PowerShell or Powercli – VirtuallyThatGuy
This script generates an email report of virtual machines that have snapshots running. save above and run as below .\getsnapshotsize.ps1
Read More »PowerShell or PowerCLI starter pack – OneLiners Must Have For Administrator
A quick blog on some one liners managing the vmware estate an admin must have. The following are a few PowerCLI commands that I have found useful at one time or another. The VMware Communities section for PowerCLI is a great starting…
Read More »How To Reboot Cycle ESXi Server to remove stale datastore entry using powershell or powercli – VirtuallyThatGuy
This is a quick script to remove stale datastore entry on a host using a reboot cycle script which puts a host into maintenance mode, reboot, remove from maintenance mode and loop through the remaining hosts of the…
Read More »Script: Reboot Horizon View VMs with Active connection using PowerCLI
This is a quick script to reboot horizon view VMs (VDI) with active users connected or Horizon desktops that have active session. This is useful for weekend patches or any other maintenance work.
Read More »Script: How to Hot Add Memory and CPU (vMem & vCPU vCenter / ESXi Hosts)
This is a quick blog post on how to add vMem and vCPU hot plug in vCenter or ESXi host via powerCLI
Read More »