Új hozzászólás Aktív témák
-
notika77
senior tag
Igen, mert az MS oldalán van még egy
Import-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 futSzó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 Currentuserui.: a #-kal kezdődő sorok megjegyzések, nem kell őket bemásolni
[ Szerkesztve ]