Our security have forced our laptops to use PowerShell 7 and uninstalled earlier versions of Powershell. Unfortunately PS7 executable is not powershell.exe but pwsh.exe. So when I try to run Vagrant I get this:
Vagrant failed to initialize at a very early stage:
Failed to locate the powershell executable on the available PATH. Please
ensure powershell is installed and available on the local PATH, then
run the command again.
Is there a way to tell Vagrant to use PS7?