e = $localizationString.Message_IEAddon
        $message | convertto-xml | Update-DiagReport -rid RC_defectiveIEaddon -id Message_defectiveIEaddon -name $localizationString.Report_name_IEAddon
        return $DefectiveAddonParaHash
    }

    #Read the latest 7 days iexplore crash events from the application channel

    $day = 7

    $timespan=New-Object system.timespan($day,0,0,0)

    $currenttime = [system.datetime]::today

    $starttime = $currenttime.Subtract($timespan)

    $ieerr = get-winevent -FilterHashtable @{logname="application"; providername="Application Error"; data="iexplore.exe"; starttime=$starttime}

    if(($ieerr -is [System.Diagnostics.Eventing.Reader.EventRecord]) -or ($ieerr.count -gt 0))
    {
        $ieerr | convertto-xml | Update-DiagReport -rid RC_defectiveIEaddon -id crashedIEAddon -name $localizationString.Report_name_crashedIEAddon -description $localizationString.Report_description_crashedIEAddon
    }

    if ($ieerr -ne $null)
    {
        foreach ($modulekey in $ModulesHash.keys)
        {
            foreach ($i in $ieerr)
            {
                foreach ($prop in $i.Properties)
                {
                    #if IE crash event properties contains the add-on module name, and the add-on does not disabled, it's a defective add-on
                    if ($prop.Value -contains $ModulesHash.item($modulekey))
                    {
                        if(((IsDisabledAddon $modulekey) -eq $false) -and (BinaryExists($modulekey)))
                        {
                            if(-not($DefectiveAddonParaHash.ContainsKey($modulekey)))
                            {
                                $defectiveaddonname = $ModulesHash.item($modulekey)
                                $DefectiveAddonParaHash.add($modulekey, $defectiveaddonname)
                            }
                        }
                    }
                }
            }
        }
    }
    return $DefectiveAddonParaHash
}

#
# List of all Internet Explorer add-ons installed.
#
function WriteIEAddonReport([System.Collections.Hashtable]$addonHash, [string]$addonType)
{
    if($addonHash -ne $null -and $addonHash.count -gt 0)
    {
         $array = New-Object System.Collections.ArrayList
         foreach($key in $addonHash.keys)
         {
             $versioninfo = GetAddonVersionInfo $key
             $modifydate = GetAddonModifiedDate $key
             if($versioninfo -ne $null)
             {
                 $item = New-Object -TypeName System.Management.Automation.PSObject

                 Add-Member -InputObject $item -MemberType NoteProperty -Name "file_description"-Value $versioninfo.FileDescription
                 Add-Member -InputObject $item -MemberType NoteProperty -Name "file_version"-Value $versioninfo.FileVersion
                 Add-Member -InputObject $item -MemberType NoteProperty -Name "product_name"  -Value $versioninfo.ProductName
                 Add-Member -InputObject $item -MemberType NotePropertVersion 4
SymbolType CELL
LINE Normal -32 32 32 64
LINE Normal -32 96 32 64
LINE Normal -32 32 -32 96
LINE Normal -28 48 -20 48
LINE Normal -28 80 -20 80
LINE Normal -24 84 -24 76
LINE Normal 0 32 0 48
LINE Normal 0 96 0 80
LINE Normal 4 44 12 44
LINE Normal 8 40 8 48
LINE Normal 4 84 12 84
WINDOW 0 16 32 Left 0
WINDOW 3 16 96 Left 0
SYMATTR Value LT1361
SYMATTR Prefix X
SYMATTR SpiceModel LTC.lib
SYMATTR Value2 LT1360
SYMATTR Description Dual 50MHz, 800V/s, Operational Amplifier
PIN -32 80 NONE 0
PINATTR PinName In+
PINATTR SpiceOrder 1
PIN -32 48 NONE 0
PINATTR PinName In-
PINATTR SpiceOrder 2
PIN 0 32 NONE 0
PINATTR PinName V+
PINATTR SpiceOrder 3
PIN 0 96 NONE 0
PINATTR PinName V-
PINATTR SpiceOrder 4
PIN 32 64 NONE 0
PINATTR PinName OUT
PINATTR SpiceOrder 5
