Skip to content

VirtuallyThatGuy

Anything VMware , PowerCLI, PowerShell, Automation and some Windows

Menu
  • Home
  • PowerCLI
  • VMware
  • Automation
  • Windows
  • About
Menu

Tag: Workstation

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

Posted on 10 July 20226 December 2022 by 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 cluster. This is useful for weekend patches or any other maintenance work. Once completed the stale entry…

Read more

Script: Reboot Horizon View VMs with Active connection using PowerCLI

Posted on 18 June 20224 March 2024 by VirtuallyThatGuy

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)

Posted on 7 May 20224 March 2024 by VirtuallyThatGuy

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

Posted on 1 April 20224 March 2024 by VirtuallyThatGuy

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 pc. If you have admin persmission and access to internet, you can run below command in admin…

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

Posted on 5 March 20224 March 2024 by VirtuallyThatGuy

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 SSH’d in as root, so you just need to edit /etc/pam.d/system-password so ssh to the VCSA and type…

Read more

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

Posted on 6 February 20224 March 2024 by VirtuallyThatGuy

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….

Read more

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

Posted on 23 January 20224 March 2024 by VirtuallyThatGuy

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 actual usage space of the VM and not just the provisioned space. Alternatively, you can create a…

Read more

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

Posted on 16 January 20224 March 2024 by VirtuallyThatGuy

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

Posted on 3 January 20224 March 2024 by VirtuallyThatGuy

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

Posted on 11 December 20214 March 2024 by VirtuallyThatGuy
Read more

Posts pagination

  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 11
  • Next
When autocomplete results are available use up and down arrows to review and enter to go to the desired page. Touch device users, explore by touch or with swipe gestures.

Recent Posts

  • vROps: Management Pack Troubleshooting
  • Windows AD {Active Directory} (PowerShell) samples
  • Migrate VMs Between vCentres Using Powershell or PowerCLI
  • Set VM Tools to Update Automatically on VM Reboot using powershell
  • Windows Administrator Must Have Powershell Commands

Recent Comments

  • JB on Script: How to get VM with Tag Assignment and export results to csv using PowerCLI or Powershell
  • DL on How to change VCSA root password and bypass BAD PASSWORD: it is based on a dictionary word for vCenter VCSA root account warning
  • 360coolp on How to change VCSA root password and bypass BAD PASSWORD: it is based on a dictionary word for vCenter VCSA root account warning
  • Yogesh on ESXi 8.x, 7.x, 6.x Service sfcbd-watchdog Not Running / Fails to Start – VirtuallyThatGuy
  • VirtuallyThatGuy on ESXi 8.x, 7.x, 6.x Service sfcbd-watchdog Not Running / Fails to Start – VirtuallyThatGuy

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017

Categories

  • Automation
  • PowerCLI
  • VMware
  • Windows
© 2025 VirtuallyThatGuy | Powered by Superbs Personal Blog theme