Igen, mert az MS oldalán van még egyImport-Module SpeculationControl
utasítás is a lekérdezés előtt. Majd a lekérdezés parancsa is másként van írva, ígyGet-SpeculationControlSettings
Ezeket behelyezve a futtatási láncba, illetve kicserélve a második esetében, már le is fut
Szóval az MS honlapról kimásolva, így néznek ki a parancsok [link]
Install the PowerShell module / telepítésInstall-Module SpeculationControl
Run the PowerShell module to validate the protections are enabled / futtatás# Save the current execution policy so it can be reset
$SaveExecutionPolicy = Get-ExecutionPolicy
Set-ExecutionPolicy RemoteSigned -Scope Currentuser
Import-Module SpeculationControl
Get-SpeculationControlSettings
# Reset the execution policy to the original state
Set-ExecutionPolicy $SaveExecutionPolicy -Scope Currentuser
ui.: a #-kal kezdődő sorok megjegyzések, nem kell őket bemásolni
[ Szerkesztve ]