How to uninstall VirtualBox / removing Kernel Extension

Reading this thread

I made with brew: brew cask uninstall virtualbox

Error: Cask 'virtualbox' is not installed.

The dmg file of virtual box is not on disk..

Thanks for any good ideas.


You can either redownload the virtual box dmg and run that script or download and run this script

The script above is just the script I got from the uninstall.tool