# It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description - Script to verify that protections have been enabled for speculative execution side-channel vulnerability # Dependency files - "SpeculationControl.psd1" "SpeculationControl.psm1" Download URL - https://gallery.technet.microsoft.com/scriptcenter/Speculation-Control-e36f0050 # Source - https://support.microsoft.com/en-us/help/4072698/windows-server-guidance-to-protect-against-the-speculative-execution # Remarks - Enable Logging option must be selected to view result # Configuration Type - Computer # =========================================================================================================================== $SaveExecutionPolicy = Get-ExecutionPolicy Set-ExecutionPolicy RemoteSigned -Scope Currentuser Import-Module .\SpeculationControl.psd1 Get-SpeculationControlSettings Set-ExecutionPolicy $SaveExecutionPolicy -Scope Currentuser