HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Windows/diagnostics/system/IESecurity/RS_IESecuritylevels.ps1
# Copyright � 2008, Microsoft Corporation. All rights reserved.


. .\IEsecuritysettings.ps1

#Localization Data
Import-LocalizedData localizationString

Write-DiagProgress -activity $localizationString.Reset_securitysettings

$repairIESettingsHash = $IERepair.RepairIESettings()

if($repairIESettingsHash.count -gt 0)
{
    $repairIESettingsHash.GetEnumerator() | select-object -Property @{Name=$localizationString.keys; Expression={$_.name}} | convertto-xml | Update-DiagReport -id resetIEsettings -name $localizationString.Report_name_resetIEsettings -description $localizationString.Report_description_resetIEsettings
}

$repairIEProtectModeHash = $IERepair.RepairIEProtectMode()

if($repairIEProtectModeHash.count -gt 0)
{
    $repairIEProtectModeHash.GetEnumerator() | select-object -Property @{Name=$localizationString.keys; Expression={$_.name}} | convertto-xml | Update-DiagReport -id resetIEprotectedmode -name $localizationString.Report_name_resetIEprotectedmode -description $localizationString.Report_description_resetIEprotectedmode
}