Tag: Scripting

How To Reboot Cycle ESXi Server to remove stale datastore entry using powershell or powercli – VirtuallyThatGuy

No Picture

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

No Picture

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)

No Picture

This is a quick blog post on how to add vMem and vCPU hot plug in vCenter or ESXi host via powerCLI

Read More »

Create PowerCLI profile and setup powercli without Install on Windows Server or PC

No Picture

This is a quick blog post of creating a PowerCLI or PowerShell profile and having powercli modules or commands available using native windows PowerShell without installing powercli or having native admin privileges on a windows server or desktop…

Read More »

How to change VCSA root password and bypass BAD PASSWORD: it is based on a dictionary word for vCenter VCSA root account warning

No Picture

This is a quick blog post on how to bypass BAD PASSWORD: it is based on a dictionary word for vCenter VCSA root account. You will need SSH for this. The bypass was actually easy. Presumably you’re already…

Read More »

Script: Increase Multiple Virtual Machines VMs vCPU and vMem using a CSV and PowerCLI

No Picture

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…

Read More »

Script: How to get VM Disk Actual Usage, or VMDK UsedSpace Report Of Actual Datastore Usage using PowerCLI or Powershell

No Picture

Ever wondered how to get the actual vmdk usage report on OS level utilising vmtools? This is a quick blogpost which you might find useful to get the results wanted. Results of above script as follows showing the…

Read More »

List Of vCenter VCSA – VMware vCenter Server Services and their Purpose

No Picture

This is a quick reference blog on the vCenter Server Services components and their purpose. Reference article

Read More »

Script: How to get VM with Tag Assignment and export results to csv using PowerCLI or Powershell

No Picture

This is a quick blog post on retrieving VM tag data from vcenter and exporting result to csv

Read More »

Script: How to Put ESXi Hosts InTo Maintenance Mode, Reboot ESXi Hosts, Reconnect ESXi and Loop Across All Hosts Cluster Using Powershell or Powercli

No Picture
Read More »