PowerShell: Check whether a Windows command or executable is available

In one of my recent PowerShell scripts I needed to find out if certain commands (in my case “svn”, “git”, “ant” and “mvn”) were available or not. I wrote this small function that tries to call the given command and returns whether it is callable. function commandAvailable($cmd, $options) { $error.clear();…

Weiterlesen…

VBoxManage: error: VT-x features locked or unavailable in MSR. (VERR_VMX_MSR_LOCKED_OR_DISABLED)

Today I wanted to add a new 64bit virtual machine to my VirtualBox installation but when I tried to power it on I got the following error message: root@debian /home/vms/Webserver # VBoxManage startvm Webserver –type headless Waiting for VM “Webserver” to power on… VBoxManage: error: VT-x features locked or unavailable…

Weiterlesen…