summaryrefslogtreecommitdiff
path: root/MAS/Separate-Files-Version/Troubleshoot.cmd
diff options
context:
space:
mode:
authorWindowsAddict2025-04-12 22:15:34 +0000
committerWindowsAddict2025-04-12 22:15:34 +0000
commit8673fbbfdabf9fdf34823c4e276ed3a4ef4095ba (patch)
treeac7009954b75368ccba24d2a3e7fab7b67d0a002 /MAS/Separate-Files-Version/Troubleshoot.cmd
parent60dd549a4982c39f972271b638f3af2ab98c776e (diff)
downloadMicrosoft-Activation-Scripts-8673fbbfdabf9fdf34823c4e276ed3a4ef4095ba.zip
Add -nop -c with Powershell
Diffstat (limited to 'MAS/Separate-Files-Version/Troubleshoot.cmd')
-rw-r--r--MAS/Separate-Files-Version/Troubleshoot.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/MAS/Separate-Files-Version/Troubleshoot.cmd b/MAS/Separate-Files-Version/Troubleshoot.cmd
index 1c12499..a3d3b8b 100644
--- a/MAS/Separate-Files-Version/Troubleshoot.cmd
+++ b/MAS/Separate-Files-Version/Troubleshoot.cmd
@@ -192,7 +192,7 @@ for /f "delims=" %%a in ('cmd /c "%psc% ""if ($PSVersionTable.PSEdition -ne 'Cor
if /i not "%tstresult%"=="FullLanguage" (
%eline%
-echo %tstresult%
+echo: %tstresult%
cmd /c "%psc% $ExecutionContext.SessionState.LanguageMode"
REM check LanguageMode
@@ -1460,7 +1460,7 @@ exit /b
:dk_setvar
-set psc=powershell.exe
+set psc=powershell.exe -nop -c
set winbuild=1
for /f "tokens=6 delims=[]. " %%G in ('ver') do set winbuild=%%G