We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc657f commit 9ef05e5Copy full SHA for 9ef05e5
WhyNotWin11.au3
@@ -12,8 +12,8 @@ $sTPM = StringTrimLeft($sTPM, 1)
12
13
RunWait("powershell -Command $env:firmware_type | Out-File -FilePath .\WhyNot.txt", "", @SW_HIDE)
14
15
-$sFirmware = FileRead(".\WhyNot.txt")
16
-$sFirmware = StringStripWS($sFirmware, $STR_STRIPALL)
+$sBOOT = FileRead(".\WhyNot.txt")
+$sBOOT = StringStripWS($sBOOT, $STR_STRIPALL)
17
18
RunWait("powershell -Command Get-Partition -DriveLetter C | Get-Disk | Out-File -FilePath .\WhyNot.txt", "", @SW_HIDE)
19
@@ -27,5 +27,5 @@ EndIf
27
FileDelete(".\WhyNot.txt")
28
29
MsgBox(0, "WhyNotWin11", "TPM:" & @TAB & $sTPM & @CRLF & _
30
- "Disk:" & @TAB & $sFirmware & @CRLF & _
+ "Disk:" & @TAB & $sBOOT & @CRLF & _
31
"GPT:" & @TAB & $sGPT)
0 commit comments