Pull IE Version using Get-CIMInstance?

This topic contains 2 replies, has 2 voices, and was last updated by  Jarom Later 3 years, 9 months ago.

  • Author
  • #18563

    Jarom Later

    Is it possible to get the IE Version with Get-CIMInstance, or does anyone know another elegant way to pull this information from a remote computer? Thanks!

  • #18565

    Richard Siddaway

    You can find the product version like this

    (Get-ChildItem 'C:\Program Files\Internet Explorer\iexplore.exe').VersionInfo.ProductVersion

    Wrap it in Invoke-Command for remote machines

    Alternatively using CIM

    Get-CimInstance -ClassName CIM_DataFile -Filter "Name = 'C:\\Program Files\\Internet Explorer\\iexplore.exe'" | select -ExpandProperty Version

    Add the computername or CIMsession for a remote machine

    After checking the CIM version gives a more accurate result

  • #18567

    Jarom Later

    Thank you, Richard!

You must be logged in to reply to this topic.