pharuck's avatar

Vagrant can't see the Powershell

Hi everyone,

I took steps to set up Homestead on a new computer. (Https://laravel.com/docs/5.7/homestead) but when i run the vagrant up command output the following error

PS C:\Users\Faruk\homestead> vagrant up Bringing machine 'homestead-7' up with 'virtualbox' provider... The version of powershell currently installed on this host is less than the required minimum version. Please upgrade the installed version of powershell to the minimum required version and run the command again.

components: Windows 10 Pro (all the updates done) Vagrant: 2.1.4 (latest version) Windows PowerShell: 5.1 (acceptable version) VM: 5.2.16 (latest version)

I've followed the steps below to resolve this issue.

  • open with admin vagrant.exe (C:\HashiCorp\Vagrant\bin)
  • open with admin CMD
  • open with admin Powershell (C:\Windows\System32\WindowsPowerShell\v1.0)
  • enabled HYPER-V
  • PowerShell command: $env:VAGRANT_POWERSHELL_VERSION_DETECTION_TIMEOUT = "60"

but still not work.

any suggestion?

0 likes
1 reply

Please or to participate in this conversation.