Enabling and Disabling Hyper-V in Powershell

I sometimes find myself having to disable Hyper-V in Windows 10 temporarily in order to run some other virtualization software like VirtualBox. ¬†While it is possible to enable and disable Hyper-V in Window Features, I find it a lot more convenient running a Powershell command to enable and disable it.…