Well, sometimes it is better knowing what you have and plan for the worse. Especially when there are critical security issues with older Internet Explorer versions: http://www.microsoft.com/technet/security/advisory/981374.mspx Simple but powerful procedure to be used for Audit.

<?xml version="1.0" encoding="utf-8"?>
<ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
  <Procedure name="Get IE Version" treePres="3">
    <Body description="Description: Get the Internet Explorer version straight from the registry.&#xA;&#xA;Dependencies: None.&#xA;&#xA;Usage: Run at any given time. Make a custom procedure log report to evaluate the Internet Explorer version on many machines.&#xA;&#xA;Script maintainer: ronny [at] upstream.se&#xA;Support: This script is delivered &quot;as is&quot;. No support included.">
      <Statement description="Query the registry from command line and store in a text file." name="ExecuteShellCommand" continueOnFail="false" osType="Windows">
        <Parameter xsi:type="StringParameter" name="Command" value="reg query &quot;HKLM\SOFTWARE\Microsoft\Internet Explorer&quot; /v Version &gt;&gt;#vAgentConfiguration.agentTempDir#\IE_version.txt" />
        <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />
        <Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />
      </Statement>
      <Statement description="Create a variable from the registry query result." name="GetVariable" continueOnFail="false" osType="Windows">
        <Parameter xsi:type="EnumParameter" name="VariableType" value="FileContent" />
        <Parameter xsi:type="StringParameter" name="SourceContent" value="#vAgentConfiguration.agentTempDir#\IE_version.txt" />
        <Parameter xsi:type="StringParameter" name="VariableName" value="IE_version" />
      </Statement>
      <Statement description="Delete the text file output." name="DeleteFile" continueOnFail="false" osType="Windows">
        <Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.agentTempDir#\IE_version.txt" />
      </Statement>
      <Statement description="Write procedure log entry." name="WriteScriptLogEntry" continueOnFail="false" osType="Windows">
        <Parameter xsi:type="StringParameter" name="Comment" value="#IE_version#" />
      </Statement>
    </Body>
  </Procedure>
</ScriptExport>


Legacy Forum Name: Get Internet Explorer version,
Legacy Posted By Username: eron



[edited by: Brendan Cosgrove at 12:56 PM (GMT -8) on 12-13-2010] .