Get powershell path in %WINDIR%/System32
This commit is contained in:
parent
3e5d6929bb
commit
0a1b20bb07
@ -18,7 +18,8 @@ module Vagrant
|
||||
POWERSHELL_NAMES = ["powershell", "pwsh"].map(&:freeze).freeze
|
||||
# Paths to powershell executable
|
||||
POWERSHELL_PATHS = [
|
||||
"%WINDIR%/WindowsPowerShell/v1.0",
|
||||
"%SYSTEMROOT%/System32/WindowsPowerShell/v1.0",
|
||||
"%WINDIR%/System32/WindowsPowerShell/v1.0",
|
||||
"%PROGRAMFILES%/PowerShell/7",
|
||||
"%PROGRAMFILES%/PowerShell/6"
|
||||
].map(&:freeze).freeze
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user