diff --git a/lib/vagrant/util/powershell.rb b/lib/vagrant/util/powershell.rb index f77ba9650..d8529f423 100644 --- a/lib/vagrant/util/powershell.rb +++ b/lib/vagrant/util/powershell.rb @@ -27,7 +27,11 @@ module Vagrant @_powershell_executable += ".exe" if Which.which(@_powershell_executable).nil? - @_powershell_executable = nil + @_powershell_executable = "/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe" + + if Which.which(@_powershell_executable).nil? + @_powershell_executable = nil + end end else @_powershell_executable = nil