File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212@ if /I " %~1 " == " /h" goto :Help
1313@ if /I " %~1 " == " /help" goto :Help
1414
15- powershell.exe -ExecutionPolicy Bypass %~dpn0 .ps1 %*
15+ powershell.exe -NoProfile - ExecutionPolicy Bypass %~dpn0 .ps1 %*
1616@ exit /b %ERRORLEVEL%
1717
1818:Run64
1919@ " %WinDir% \SysNative\cmd.exe" /c " %~f0 " %*
2020@ exit /b %ERRORLEVEL%
2121
2222:Help
23- @ powershell.exe -ExecutionPolicy Bypass Get-Help %~dpn0 .ps1 -Detailed
23+ @ powershell.exe -NoProfile - ExecutionPolicy Bypass Get-Help %~dpn0 .ps1 -Detailed
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ REM *********************************
8787 )
8888
8989 REM Install latest Azure Artifacts Credentials Provider (https://github.com/microsoft/artifacts-credprovider)
90- powershell -Command " iex " " & { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx" " "
90+ powershell -NoProfile - Command " iex " " & { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx" " "
9191
9292 set _BUILDXL_BOOTSTRAP_OUT = %ENLISTMENTROOT% \Out\BootStrap
9393
You can’t perform that action at this time.
0 commit comments