A PowerShell 7+ script which invokes packer build using a packer JSON file with a virtualbox-iso builder to create a local VirtualBox virtual machine.
To install, drop the entire Invoke-PackerBuildVbVm folder into one of your PowerShell 7 (or later) module directories. The default PowerShell module paths are listed in the $Env:PSModulePath environment variable.
Packer and VirtualBox are both installed and in your System PATH.
Refer to the comment-based help in the module script for detailed usage information or see Invoke-PackerBuildVbVm.md
This has only been tested on PowerShell 7 Core on Windows 10 2004. Your mileage may vary if using this with PowerShell 5.1 or PowerShell 6 (Core) and/or other OSes.
Invoke-PackerBuildVbVm is MIT licensed.