Hirdetés

2024. április 28., vasárnap

Gyorskeresés

Hozzászólások

(#27) notika77 válasza joghurt (#18) üzenetére


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, így
Get-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és
Install-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 ]

Copyright © 2000-2024 PROHARDVER Informatikai Kft.