Friday, January 16, 2015

SCCM report for IE versions

Previously, long time ago I have created a report to get IE versions. However that report wont work on the latest versions of Internet Explorer.
Earlier version of internet explorer will be listed in Add Remove Programs.
However the latest version of Internet Explorer's won’t show in the Add Remove Programs or under Program and Features.
When I have been asked to create a report for all installed Internet Explorer versions, I found it easy to create a separate collection for individual version of IE's then generate a report using the collections. We can use these collection to generate a machine collections where internet explorer is not installed as well.
First create a collection for All Workstations and limit all the collections to this collection. Then create individual collections for each version of Internet Explorer.

SCCM Collection for IE 6 Installed;
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "iexplore.exe" and SMS_G_System_SoftwareFile.FileVersion like "6.%"

SCCM Collection for IE 7 Installed;
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "iexplore.exe" and SMS_G_System_SoftwareFile.FileVersion like "7.%"

SCCM Collection for IE 8 Installed;
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "iexplore.exe" and SMS_G_System_SoftwareFile.FileVersion like "8.%"

SCCM Collection for IE 9 Installed;
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "iexplore.exe" and SMS_G_System_SoftwareFile.FileVersion like "9.%"

SCCM Collection for IE 10 Installed;
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "iexplore.exe" and SMS_G_System_SoftwareFile.FileVersion like "10.%"

SCCM Collection for IE 11 Installed;
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "iexplore.exe" and SMS_G_System_SoftwareFile.FileVersion like "11.%"

Creating a Collection for Internet Explorer 11 not installed
If we want to get machines without IE 11;
   - Create a new collection limit to Workstation
   - Under membership rules Include All Workstations
   - Under membership rules Exclude Collection IE 11 Installed

That’s it. We have collections for each and every version of IE instances and also collection for an IE version where it is not installed.

3 comments:

  1. I found your post very helpful but it seems there is a flaw some where in SCCM. I can see a system showing as IE10. This machine was IE10 last week but was upgraded on Thursday and its now Tuesday and it wont remove from the IE10 collection. Any ideas why its reporting incorrectly? Also it shows in the IE11 and IE8 collections.

    ReplyDelete
  2. Hello Mr. Singireddy,
    I'm looking forward for a SCCM report which get me all installed web-browsers on all clients with versions. I have now only a report for Internet Explorer; but I need one for IE, Mozilla Firefox, Google Chrome and Opera Browser. How can I archieve this in SCCM (report or dashboard)?

    Best regards,

    Pascal Bilat

    ReplyDelete
  3. Hi Pascal,
    Try below query to get other browsers and add more as needed;

    SELECT DISTINCT sys.Netbios_Name0 AS [Machine Name], sys.User_Name0 AS [User Name],
    arp.DisplayName0
    FROM v_R_System AS sys
    INNER JOIN v_Add_Remove_Programs AS arp ON sys.ResourceID = arp.ResourceID
    WHERE (arp.DisplayName0 LIKE '%Google Chrome%') or (arp.DisplayName0 LIKE '%Mozilla %') or (arp.DisplayName0 LIKE '%Opera %')

    this will give you all the devices with above various browsers installed.

    Cheers
    Venu

    ReplyDelete