Toggle Windows Hyper-V Batch Script
Virtualisation software (e.g. Virtual Box, VMware, Windows Sandbox), DOCKER!!, and many other wares require the presence of this feature in order to function normally.
But wait... why would you ever even want to disable Hyper-V in the first place??
This script was written in order to tackle the mundane process of toggling Hyper-V for these purposes.
WARNING!! Upon toggling, your system will reboot - so be sure to save any work before toggling!
Simply download this gist and run
hyper-v.bat it as administrator.
Optionally, save it somewhere and add a shortcut to your desktop, customising the icon appropriately and setting it to automagically run as adminstrator.
Better yet, turn it into a CLI program and customise the script, passing in the switches required on the command line :)
I am not a doctor, lawyer or anyone that cares remotely if your system starts leaking binary all over the internet or your coffee table.
No warranties are implied; please use my tools at your own discretion, study them, share them and enjoy them as you see fit!