File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 12
12
@ if /I " %~1 " == " /h" goto :Help
13
13
@ if /I " %~1 " == " /help" goto :Help
14
14
15
- powershell.exe -ExecutionPolicy Bypass %~dpn0 .ps1 %*
15
+ powershell.exe -NoProfile - ExecutionPolicy Bypass %~dpn0 .ps1 %*
16
16
@ exit /b %ERRORLEVEL%
17
17
18
18
:Run64
19
19
@ " %WinDir% \SysNative\cmd.exe" /c " %~f0 " %*
20
20
@ exit /b %ERRORLEVEL%
21
21
22
22
: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 *********************************
87
87
)
88
88
89
89
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" " "
91
91
92
92
set _BUILDXL_BOOTSTRAP_OUT = %ENLISTMENTROOT% \Out\BootStrap
93
93
You can’t perform that action at this time.
0 commit comments