2 Replies Latest reply on Jul 29, 2014 1:03 PM by Monoj Padhy

    Reg Compliance Rule: Check App for a specific version or Greater

    James Donohue

      Hi again,


      Windows Example:

      "Registry Value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine\PowerShellVersion"."String Value (Windows)" starts with "2.0"


      I want to run a Compliance rule against my Windows targets to ensure that all Servers contain PowerShell version 2.0 OR GREATER in this example. I can check for a specific version (i.e. 2.0) but since it’s a STRING Registry value, it does not offer me the ‘Greater than or equal to’ option. Is there any way to accomplish this?


      I’m not so much interested in getting PowerShell versions specifically; but I’m more interested in performing mathematical functions on a
      string-based value. Is there any type of String conversion functionality within Compliance rule syntax?


      The GENERAL Example would be:

      Ensure that Application XYZ is version 1.0 or greater.