diff --git a/bin/SpeedUpPS.bat b/bin/SpeedUpPS.bat index 289a287..b8a7677 100644 --- a/bin/SpeedUpPS.bat +++ b/bin/SpeedUpPS.bat @@ -4,8 +4,10 @@ echo "Found computer %check_computername%" set PACKAGES="C:\Packages" set WPUBLIC="C:\wPublic" +set WBASE="C:\Scripts\wBase" + +set POWERSHELL=%SYSTEMROOT%\system32\WindowsPowerShell\v1.0\powershell.exe echo "Speed up Powershell processing" -set PSFILE="%WPUBLIC%\bin\SpeedUp.ps1" -Powershell.exe -ExecutionPolicy Bypass -File %PSFILE% - +set PSFILE="%BASE%\bin\SpeedUp.ps1" +%POWERSHELL% -ExecutionPolicy Bypass -File %PSFILE%