The term VBoxManage is not recognized as the name of a cmdlet function script file or operable

Error: The term VBoxManage is not recognized as the name of a cmdlet function script file or operable

Solution: Go to the VBoxManage location and run the command again, explained below.

If you get the error message VBoxManage is not recognized, the VirtualBox installation is not added to your Windows PATH.

The quick way to run the command successfully is to go to the VirtualBox install location, typically as shown below:

PS C:\> cd "C:\Program Files\Oracle\VirtualBox"
PS C:\Program Files\Oracle\VirtualBox>

Then execute the command as follows:

PS C:\Program Files\Oracle\VirtualBox> .\VBoxManage startvm "ubuntu-test-vm"
Waiting for VM "ubuntu-test-vm" to power on...
VM "ubuntu-test-vm" has been successfully started.
PS C:\Program Files\Oracle\VirtualBox>

Notes

We have ran the above steps in PowerShell prompt, similar steps would work in Windows Command line as well.